Page 1 of 1

Unable to manually pause execution while debugging in VS Code

Posted: Wed Sep 16, 2020 7:18 pm
by Edwin-S
Hi, I've tried searching for this topic but I can't find a single mention of anything about it. I've recently gotten my hands on an ESP-Prog, and while getting familiar with JTAG debugging, I've noticed that I'm unable to manually pause execution of a running program, neither by clicking on the pause button, nor by pressing the F6 shortcut. If I instead use gdb from the command line, I can CTRL-C to pause a running program, so I know it should be possible. What I'd like to know is if my inability to pause while debugging in VS Code is due to a bug, limitation, or misconfiguration of the esp-idf plugin, and whether I can do anything about it.

Re: Unable to manually pause execution while debugging in VS Code

Posted: Wed Sep 23, 2020 1:00 pm
by AndreiGramakov
Hello! Thank you for reporting the problem.

It is a bug and regression; I'll take the task to fix this and then return to you with the results.

Re: Unable to manually pause execution while debugging in VS Code

Posted: Wed Oct 07, 2020 9:39 am
by Edwin-S
Ah, somehow I had missed your response until now. Thanks for looking into it, it's good to know that it's not just me. In the meantime I'll work around it by making sure I always have at least one breakpoint active.

Re: Unable to manually pause execution while debugging in VS Code

Posted: Sun Jan 24, 2021 10:45 am
by sebmatrix
Hello,

I have the same behavior. Impossible to pause execution.

Some news about this bug ? A correction or a workaround ?

Best regards.
Sébastien.