Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic When I suspend or stop debugging in JTAG debug, VS2022 freezes (ESP32S2) (Read 166 times)
gilles@icocube
Newbies
*
Offline


Posts: 7
Joined: Oct 2nd, 2023
When I suspend or stop debugging in JTAG debug, VS2022 freezes (ESP32S2)
Oct 9th, 2023 at 1:27am
Print Post  
When the program is in free running and I attempt to suspend or stop it, VS2022 freezes. Notably, during free running, I'm unable to set breakpoints. To unfreeze VS2022, 
I have to use the Windows Task Manager and navigate to the VS2022 application to terminate the 'openocd.exe' process.

Interestingly, if I'm paused on a breakpoint, stopping the debug poses no issues. I've tested this with different JTAG interfaces such as JLINK JTAG, JLINK JTAG + SWO SWD, and ESP-PROG, but the problem persists.

I've attached three screenshots: 1) at the start of the debug, 2) when VS2022 freezes, and 3) after terminating the 'openocd.exe' task. Additionally, I've included the debugger log and build log.
« Last Edit: Oct 17th, 2023 at 1:12pm by Simon@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2699
Joined: Feb 13th, 2019
Re: When I suspend or stop debugging in JTAG debug, VS2022 freezes
Reply #1 - Oct 17th, 2023 at 1:11pm
Print Post  
Thanks for the report.

We currently have an issue open with Microsoft to try and assist with this issue which is present only on some toolchains.

If we have any further fixes or changes which work towards resolving this for ESP32 we will update this thread.
  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2699
Joined: Feb 13th, 2019
Re: When I suspend or stop debugging in JTAG debug, VS2022 freezes (ESP32S2)
Reply #2 - Oct 19th, 2023 at 3:01pm
Print Post  
Can you install the latest version (23.1006.01) from the top of the board below, and then try debugging again?
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

This should resolve the issues where the break all / stop / add breakpoint when the target is running.
  
Back to top
IP Logged
 
JeffMoore
Newbies
*
Offline


Posts: 1
Joined: Feb 29th, 2024
Re: When I suspend or stop debugging in JTAG debug, VS2022 freezes (ESP32S2)
Reply #3 - Feb 29th, 2024 at 10:19am
Print Post  
Simon@Visual Micro wrote on Oct 19th, 2023 at 3:01pm:
Can you install the latest version (23.1006.01) from the top of the board below, and then try debugging again?
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASEStunnel rush

This should resolve the issues where the break all / stop / add breakpoint when the target is running.



The suggestion on this link helped me understand better and the problem was solved.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint