"break methodname" doesn't work consistently for async functions #28561
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
vm-debugger
If I have an async function "xyz" that hasn't been compilede yet, I can add a breakpoint by saying "break xyz" - I will get a message saying something like "Future breakpoint 1 added at file.dart:1:1". And it works and everything's fine.
Once the function has been compiled though (e.g. if I wait until I am actually stepping in the method "xyz"), saying "break xyz" gives me the message "Unable to set breakpoint at xyz".
It seems to be caused by all functions being "debuggable" until proven otherwise, i.e. in case 1 above it's debuggable. The the function is compiled it's set as not debuggable because it's async (case 2 above).
The text was updated successfully, but these errors were encountered: