Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
VS2017 ESP32 Wrover No Hardware Debug Option (Read 459 times)
Kabron
Member
***
Offline



Posts: 103
VS2017 ESP32 Wrover No Hardware Debug Option
Jul 7th, 2019 at 10:15am
 
I see no " vMicro > Debugger > Hardware Debugger " option at all.
Back to top
 

Version.jpg (52 KB | )
Version.jpg
Options.jpg (212 KB | )
Options.jpg
 
IP Logged
 
Kabron
Member
***
Offline



Posts: 103
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #1 - Jul 7th, 2019 at 10:39am
 
The options appeared after several restarts. Fantastic...
Back to top
« Last Edit: Jul 7th, 2019 at 10:40am by Kabron »  
 
IP Logged
 
Kabron
Member
***
Offline



Posts: 103
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #2 - Jul 7th, 2019 at 11:02am
 
Options appeared, zadig driver installed,  but debug failed with the message.
I see JTAG port activity with the scope.

The upload was via serial port. Is it correct?
Back to top
« Last Edit: Jul 7th, 2019 at 11:06am by Kabron »  

debug_bug.jpg (23 KB | )
debug_bug.jpg
 
IP Logged
 
Kabron
Member
***
Offline



Posts: 103
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #3 - Jul 7th, 2019 at 12:44pm
 
Well, all this is not so simple as advertised.
First, to connect to target I have to push EN button before.
Then I got a message:
"Cannot insert breakpoint 2. Cannot access memory at 0x400d11d7"
Next I got: "Exception not processed"
"The current stack frame was not found in the loaded module. Source code cannot be displayed for this location."
etc, etc,etc
In short, nothing works

The most interesting in the attachment
Back to top
« Last Edit: Jul 7th, 2019 at 12:48pm by Kabron »  

log_006.txt (16 KB | )
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10561
United Kingdom
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #4 - Jul 7th, 2019 at 1:26pm
 
Hi thanks for testing, the GDB is new and will take a week or two for some boards to mature.

Unlike other Visual Micro menus, the debug menus appear only when a project is open, there is also a new toolbar called "Micro Debug Options".

No you should not need to press reset to start the board, we have not found that to be the case but will look at it.

>> The Wrover has more options than other boards however the Optimization setting on the debug menu is very important for esp boards. What have you set it too?

>> Upload using a different option to usb is set using the programmer menu options, should be same as Arduino IDE.

>> Yellow box at the top of this page shows how to get hold of the current config. This shows us the tool chain and compiler optimization settings etc.


Back to top
« Last Edit: Jul 7th, 2019 at 2:05pm by Visual Micro »  
WWW  
IP Logged
 
Kabron
Member
***
Offline



Posts: 103
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #5 - Jul 7th, 2019 at 3:21pm
 
Got it working by excluding mistakelly included M5STACK support.
Thanks a lot!
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print