Update empty word check (#8572)
diff --git a/packages/devtools_app/lib/src/screens/debugger/codeview.dart b/packages/devtools_app/lib/src/screens/debugger/codeview.dart index 0a92550..64ebb7f 100644 --- a/packages/devtools_app/lib/src/screens/debugger/codeview.dart +++ b/packages/devtools_app/lib/src/screens/debugger/codeview.dart
@@ -1172,7 +1172,7 @@ final word = wordForHover(event.localPosition.dx, widget.lineContents); - if (word != '' && !isPrimitiveValueOrNull(word)) { + if (word.isNotEmpty && !isPrimitiveValueOrNull(word)) { try { final response = await evalService.evalAtCurrentFrame(word); final isolateRef =