Unable to manually pause execution while debugging in VS Code

Edwin-S
Posts: 2
Joined: Wed Sep 16, 2020 6:51 pm

Unable to manually pause execution while debugging in VS Code

Postby Edwin-S » Wed Sep 16, 2020 7:18 pm

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.

User avatar
AndreiGramakov
Posts: 5
Joined: Fri Apr 03, 2020 8:03 am
Location: Brno, CZ
Contact:

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

Postby AndreiGramakov » Wed Sep 23, 2020 1:00 pm

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.
Embedded Sofware Engineer @ Espressif Systems

Edwin-S
Posts: 2
Joined: Wed Sep 16, 2020 6:51 pm

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

Postby Edwin-S » Wed Oct 07, 2020 9:39 am

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.

sebmatrix
Posts: 1
Joined: Sun Jan 24, 2021 10:38 am

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

Postby sebmatrix » Sun Jan 24, 2021 10:45 am

Hello,

I have the same behavior. Impossible to pause execution.

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

Best regards.
Sébastien.

Who is online

Users browsing this forum: No registered users and 7 guests