Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
Normally there should not be any difference. Please try enabling the verbose mode via View->Other Windows->VisualGDB Diagnostics Console to see the exact command lines launched by VisualGDB.
Another option would be to add “-d -d -d” to the make arguments so that it displays debug information about what is going on.
support
KeymasterHi,
Yes (you need to update to V5.3R7 if you are using Win10 Fall Creators Update).
December 6, 2017 at 20:53 in reply to: Can't Launch VisualGDB Debugger Anymore: Null Reference Excpetion #13180support
KeymasterHi,
We have just double-checked the latest VisualGDB build with the VS 15.5.0 and could not reproduce any issues. We will be happy to help you diagnose why this isn’t working on your machine, but please renew your technical support first.
support
KeymasterHi,
Looks like the programming succeeds, but your board might be using a different clock frequency or different UART pin numbers. Please try changing the gdb stub baud rate to 115200 (or look up the correct value in the board documentation). You may also need to edit the gdb stub to use a different UART port.
If you are not sure about the exact steps, please try using one of the boards directly supported by VisualGDB instead (e.g. Olimex mod-wifi-esp8266-dev).
December 6, 2017 at 18:37 in reply to: Can't Launch VisualGDB Debugger Anymore: Null Reference Excpetion #13177support
KeymasterHi,
Strange. Just to double-check: does this happen before installing VisualGDB, or after?
December 6, 2017 at 02:07 in reply to: Can't Launch VisualGDB Debugger Anymore: Null Reference Excpetion #13170support
KeymasterHi,
It looks like Microsoft is trying to add many new features in VS2017 and that indeed sometimes compromises stability. It’s hard to say whether anything could be done on VisualGDB side to fix this – we regularly test VisualGDB with the latest VS updates (that includes updating existing VS installation with VisualGDB), however have never encountered any problems on any of our test machines. Reinstalling VS/Windows could be indeed the fastest way around this, sorry.
December 5, 2017 at 20:05 in reply to: Can't Launch VisualGDB Debugger Anymore: Null Reference Excpetion #13167support
KeymasterThanks, this looks like a corrupt installation. Reinstalling VisualGDB/Visual Studio should normally help.
Please also note that your technical support has expired. In order to keep on receiving support, please renew your license (or update your profile email so that it matches the new license email).
support
KeymasterHi,
Thanks the for the update. We will try to include support for new devices in our next refresh of the AVR toolchain.
support
KeymasterHi,
Normally the command should work (unless you enter it in the “additional gdb commands” and your debug preferences override it). Either way, the recommended way of handling this is using the “Interrupts” window of VisualGDB (click the lightning icon in the GDB Session window). VisualGDB will let you modify signal handling from there and will also remember the settings for the next debug session.
December 5, 2017 at 18:24 in reply to: Can't Launch VisualGDB Debugger Anymore: Null Reference Excpetion #13161support
KeymasterHi,
Please update to the latest VisualGDB 5.3R7. The problem is fixed in that version.
support
KeymasterHi,
This is explained in step 22 of the tutorial. Please follow the instructions shown in step 23 (the debug settings page will look slightly different due to a recent update to our OpenOCD debug method).
support
KeymasterHi,
Normally you should be able to do it by following the esp8266 gdb stub tutorial. If it doesn’t work, please let us know if the programming stage succeeds (progress bar showing programmed addresses) or whether the device never enters the bootloader mode.
support
KeymasterHi,
This looks like an invalid path specified in one of the commands, rather than an incompatibility with mbed. We would advise double-checking every modification to Makefile you made just before this problem started occurring. If you are not sure, please try following the tutorial from the beginning and double-checking that the projects build successfully after each step. Once you locate the step that breaks the build, please double-check the edits made in this step.
If you don’t understand the meaning or role of some edits/custom commands, let us know and we will update the tutorial explaining them in more detail.
support
KeymasterHi,
Thanks for your feedback. We are currently researching possible approaches for Arduino integration and the ability to import existing community libraries sounds like a useful feature.
support
KeymasterHi,
The multiple nested breakpoints occur when one line of source code corresponds to multiple addresses (and hence needs multiple physical breakpoints). The usually happens with inlined functions or templates (e.g. list<int>::sort() vs list<string>::sort()).
It is hard to say why would this make VS hang. One guess would be that gdb needs to update too many physical breakpoints each time you stop the session and this takes time. You can try running the “
set breakpoint always-inserted on” command to prevent gdb from updating breakpoints each time the session stops.If this doesn’t help, we would recommend narrowing it down to a specific breakpoint (e.g. measuring break-in delay with and without it) and checking if this can also be reproduced without VisualGDB. If not, some gdb options or initialization commands could be affecting it. If yes, it’s likely a limitation of gdb and not much could be done to work around it other than generally speeding up connection to your target.
-
AuthorPosts