Skip to content

Commit 7e0d24a

Browse files
carllocostolauwae
authored andcommitted
fix #96 emit stoppedEvent after sendingResponse
1 parent 6cf4922 commit 7e0d24a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DebugSession/DebugSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@ export class WARDuinoDebugSession extends LoggingDebugSession {
666666

667667
protected async nextRequest(response: DebugProtocol.NextResponse, args: DebugProtocol.NextArguments): Promise<void> {
668668
console.log('nextRequest');
669-
await this.debugBridge?.step();
670669
this.sendResponse(response);
670+
await this.debugBridge?.step();
671671
}
672672

673673
protected stepBackRequest(response: DebugProtocol.StepBackResponse, args: DebugProtocol.StepBackArguments, request?: DebugProtocol.Request): void {

0 commit comments

Comments
 (0)