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 Error when debugging line by line esp8266 (Read 520 times)
Christoph
Junior Member
**
Offline


Posts: 40
Joined: Sep 4th, 2020
Error when debugging line by line esp8266
Sep 4th, 2020 at 11:46am
Print Post  
Hello powerful vmicro community!
I m trying to build up environment for debugging esp32 or esp8266 , right now without Hardware Debugger like segger jtag or the one I bought and is delivered soon -- > FT2232H MINI MODULE.
My purpose is to make some data acquisition unit with the esp’s and get access to the recorded data through webserver and also to download from SPIFF.

Here to my problem :
When I start debugging like in picture one, I am unable to toggle trough code step by step because I always getting Error “Exception Unhandled – Unknown stopping event”
Dose not matter if just digital write or printf one step and error occurs : (
Also notice when more than one breakpoint I get “Command aborted. See the output window.. “ this tells me “A program is being debugged already”
Output as .txt is attached.

I would be glad if I can get information about whats the best way to debug bigger projects on ESP32 line by line to become more knowledge about whats going on inside and also be able to make more breakpoints.

Thanks in advance!
Christoph 
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Christoph
Junior Member
**
Offline


Posts: 40
Joined: Sep 4th, 2020
Re: Error when debugging line by line esp8266
Reply #1 - Sep 4th, 2020 at 11:46am
Print Post  
This Topic was moved here from Hardware Debugging (GDB, GDB WiFi, GDB Stub) [move by] Christoph.
  
Back to top
 
IP Logged
 
Rod C
Newbies
*
Offline


Posts: 5
Joined: Oct 8th, 2023
Re: Error when debugging line by line esp8266
Reply #2 - Feb 8th, 2024 at 7:50pm
Print Post  
I am having the exact same issue with ESP32-S3. Sometimes my debugging will not even start. What I have found is that the number of breakpoints affect it. If it won't start I delete all breakpoints, then add one in and try again. Usually this will work. When I am stepping through and get the first exception you have mentioned above. Delete the breakpoint that it has hit, put a breakpoint down further and press continue and it usually carries on and hits the next breakpoint. This can be a bit frustrating but you can get it to work.  Once you get the command aborted its start again! 

I see there is no response to this from VisualMicro, which has been my experience too, you just have to figure out ways to work around the problems.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint