We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f958d5 commit a6f0ac0Copy full SHA for a6f0ac0
src/MICore/CommandFactories/gdb.cs
@@ -186,6 +186,9 @@ public override async Task<List<ulong>> StartAddressesForLine(string file, uint
186
private async Task JumpInternal(string target)
187
{
188
// temporary breakpoint + jump
189
+ // NB: the gdb docs state: "Resume execution at line linespec. Execution stops again immediately if there is a breakpoint there."
190
+ // We rely on this. If another thread hits a breakpoint before that we have a UX problem
191
+ // and would need to handle this via scheduler-locking for all-stop mode and ??? for non-stop mode.
192
await _debugger.CmdAsync("-break-insert -t " + target, ResultClass.done);
193
await _debugger.CmdAsync("-exec-jump " + target, ResultClass.running);
194
}
0 commit comments