Debugger stops at first breakpoint and wont move on in VSCode 1.78
- Describe the bug
Debugger stops at the first breakpoint, but does not allow further navigation within the code. The debugger does not accept any commands to move on:
- Step over next line (F10)
- Go to next line (F11)
- Go to next breakpoint (F5)
- To Reproduce
- Update to VSCode version 1.78
- Set breakpoint in AL code.
- Start debugging to breakpoint.
- Try to move the debugger to another line of code
- Expected behavior
Should be able to debug further. In VSCode version 1.77.3 this was still possible, a downgrade fixes this behavior.
- Actual behavior
Debugger stops at breakpoint and wont move on
- Versions:
AL Language: 11.0.787898 Visual Studio Code: 1.78.
Hi, thanks for logging the issue. We also discovered it internally and we are already looking at it and what we should do from our end. Note there is also an issue opened on the vscode side: https://github.com/microsoft/vscode/issues/181485
Also have same issue. VS Code 1.78
I have the same issue. VS Code 1.78
I'm experiencing the same!
Same here
Same here
+1
+1
+1
+1
Same issue
Same issue
same issue
Hey all,
You can stop reporting +1 on this issue :)
The root cause seems to have been identified and will be fixed in VSCode. See https://github.com/microsoft/vscode/issues/181485 for details.
Workaround for now is to use v1.77.3. Just remember to disable the auto-update of VSCode by adding this to your settings: "update.mode": "manual"
Hey all,
You can stop reporting +1 on this issue :)
The root cause seems to have been identified and will be fixed in VSCode. See microsoft/vscode#181485 for details.
Workaround for now is to use v1.77.3. Just remember to disable the auto-update of VSCode by adding this to your settings:
"update.mode": "manual"
in [microsoft/vscode#181485] Neoster is talking about 1.78.2, debugging remains broken with that version, for me. the only permutation that worked for me was installing v1.77.3 and getting the latest stable AL extension (currently v11.0.827766)
I hate to think of all the people right now pulling their hair out and just giving up on BC entirely because of this.
edit: I take that back, I'm still one of the hair puller outers. It worked ONE TIME, then went back to "debugger frozen, unusable after hitting first breakpoint" mode. Nothing changed since I ran it before and hit "stop debugging". AFAIK.
so yeah, 2 months of this, i wonder how many thousands of people this unsolved riddle has been given to.
closed VSCode again, started it again, debugger works again.
now it has something to do with the breakpoints, the one i want causes it, if an "break on error" breaks then it continues to work, but if it hits my manual point and it breaks on it then it freezes.
if i move my point, the point isn't hit when it should have been, breaks on the error, then freeze
as long as i use these versions and don't use any breakpoints it stays working
@fartwhif Closed issues are no longer tracked by Microsoft. Regarding your break point issue, please create a new issue.
I scoured the open issues and didn't find it, but found this one, I didn't realize it was closed. It shouldn't be closed. Since it's wrongfully closed by the high priests of Microsoft and there are new recent replacements that aren't closed you can be reassured that spamming the issue probably won't help and probably will waste everyone's time with further moderation haze and bureaucratic flagellation. I wish you and the rest of the AL dev pioneers the best.
I have this issue with gdb (c++) with version 1.95.1
I am facing the similar issue. I am using VSCode under codespaces. I am writing some RISC-V assembly code which i am debugging using gdb integrated with vscode. . I am able to put breakpoint at the first instruction, but it never stops there. When i set "stopAtConnect":true, it does stop at entry but when i try to step in, debugger go haywire. If i try to debug using standalone gdb, i don't observe this issue.
VSCode version being used in codesapces is 1.100.0