-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.legacy-area-front-endLegacy: Use area-dart-model instead.Legacy: Use area-dart-model instead.vm-debugger
Description
To reproduce:
- create a sample Flutter project
- add an extension method
- call the method from the sample
- add a watch on a variable defined in the extension method
- run it
extension on String {
parseInt() {
var temp = 'temp';
return int.parse(this);
}
}In _incrementCounter():
_counter++;
'42'.parseInt();I had watches on _counter and temp.
The request was evaluateInFrame.
The stack trace returned with the error JSON (think it was the same for both):
#0 HotRunner._compileExpressionService (package:flutter_tools/src/run_hot.dart:210:5)
<asynchronous suspension>
#1 setUpVmService.<anonymous closure> (package:flutter_tools/src/vmservice.dart:264:40)
<asynchronous suspension>
#2 VmService._routeRequest (package:vm_service/src/vm_service.dart:2548:14)
<asynchronous suspension>
#3 VmService._processRequest (package:vm_service/src/vm_service.dart:2518:19)
<asynchronous suspension>
Context: flutter/flutter-intellij#6736
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.legacy-area-front-endLegacy: Use area-dart-model instead.Legacy: Use area-dart-model instead.vm-debugger