Forum Replies Created
-
AuthorPosts
-
December 5, 2017 at 20:05 in reply to: Can't Launch VisualGDB Debugger Anymore: Null Reference Excpetion #13167
support
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.
support
KeymasterHi,
This looks like VisualGDB mistakenly assumes that those files belong to a VisualGDB-managed project. Please try the following:
- Close your solution.
- Clear the Clang diagnostic log.
- Reopen the solution and open one source file. Ensure the problem persists.
- Post the entire Clang log here. It should explain what projects are considered open by the IntelliSense and why it attaches to your files.
Also as a quick workaround while diagnosing this you can change the default engine on the Clang IntelliSense Diagnostic Console to “VS IntelliSense” while not working with VisualGDB projects. This should prevent it from attaching to the files unless the project referencing them explicitly enables Clang IntelliSense via settings.
support
KeymasterHi,
The window displays various service information that is required for us to check whether VisualGDB is initialized correctly. We also could not find any orders associated with your email address. Please let us know the address associated with your license.
support
KeymasterHi,
Thanks, we have tried reproducing this with your template file, but unfortunately could not get anything similar. Most likely the problem is caused by some combination of installed/referenced toolchain versions. If this is too annoying, we can add extra diagnostic logging to the logic responsible for the toolchain selection, so it will explain what is causing this with your setup. Let us know if you would like to try it out.
December 2, 2017 at 23:53 in reply to: Is there a way to change the directories "VisualGDB" and "CodeDB"? #13137support
KeymasterHi,
No problem. In case anyone else reads this topic, the global setting defines the subdirectory name for the IntelliSense Code Database, the base directory is controlled by the SysprogsCodeDBDirectoryBase variable. I.e. the full path to the directory is $(SysprogsCodeDBDirectoryBase)\<Subdirectory name in global settings>.
Unless your project explicitly defines SysprogsCodeDBDirectoryBase, it defaults to $(OutDir).
support
KeymasterHi,
Thanks for the update. We would still need to see the About window to check the initialization status of various VisualGDB components.
December 2, 2017 at 20:22 in reply to: Is there a way to change the directories "VisualGDB" and "CodeDB"? #13126support
KeymasterHi,
Sorry, for remotely build MSBuild projects the output directory must be located inside the directory of the project so that VisualGDB can map the file paths between the Linux and Windows machines.
You can still move the CodeDB directory outside the project directory by adding the following lines to your .vcxproj file:
<PropertyGroup> <SysprogsCodeDBDirectoryBase>$(SolutionDir)..\path-to-directory</SysprogsCodeDBDirectoryBase> </PropertyGroup> -
AuthorPosts