-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis enhancementrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
With the fix for dart-lang/sdk#56820 / #5157, the breakpoint will no longer be set. The VM returns us a reason:
{
"jsonrpc": "2.0",
"error": {
"code": 102,
"message": "Cannot add breakpoint",
"data": {
"request": {
"method": "addBreakpointWithScriptUri",
"params": {
"isolateId": "isolates/49774056015291",
"scriptUri": "file:///D:/Dev/Test%20Projects/dartcode_5157/bin/dartcode_5157.dart",
"line": "8"
}
},
"details": "addBreakpointWithScriptUri: Cannot add breakpoint at line 8. Error occurred when resolving breakpoint location: No debuggable code where breakpoint was requested."
}
},
"id": "15"
}We should wire this up to the reason field on the breakpoint so that it shows if the user hovers over the grey breakpoint.
Metadata
Metadata
Assignees
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis enhancementrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available