VS Arduino
>> >> No Watch/Local and other Windows in Debug>Windows dropdown
https://www.visualmicro.com/forums/YaBB.pl?num=1563506671

Message started by ccdman on Jul 19th, 2019 at 3:24am

Title: No Watch/Local and other Windows in Debug>Windows dropdown
Post by ccdman on Jul 19th, 2019 at 3:24am
Hello,
I am using the paid version of VS Micro Pro with VS2017. Both have been updated to the current level. I set up GDB as per the instructions in https://www.visualmicro.com/page/ESP8266-Debugging.aspx.
The hardware is a NodeMCU 1.0 ESP8266.
When I reach for the familiar Debug | Windows drop down, I expected to see disassembly, watch, locals and other windows, but the only ones are:Breakpoints, Exception Settings,Output, Show Diagnostic Tools, and Immediate.

I have made a thorough search of all the forum posts and the web in general and have not been able to find an answer. Maybe Tim can pitch in and tell me what I am doing wrong ? Here is a screenshot:

GDB_screenshot.jpg ( 432 KB | 7 Downloads )

Title: Re: No Watch/Local and other Windows in Debug>Windows dropdown
Post by Simon Hopkinson on Jul 19th, 2019 at 8:47am
From your screenshot it looks like you have the Serial Debugger selected.

If you go on the vMicro > Debugger Menu, and ensure that the options are set as below:
"Debug: Hardware"
"Hardware Debugger: GDB Stub"
"Compiler Optimisation: No Project + Libraries"

Just re-upload the sketch to the board and press Debug > Attach to Process when this is done, and the debug menu will change view, and show the rest of the watch windows etc.. you are missing.

Just to note in the help page below, the menus have been shown on the toolbar (Micro Board Debug Options), but are the same as you see in vMicro Debugger Menu.

https://www.visualmicro.com/page/ESP8266-Debugging.aspx

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.