Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
Strange, we have never managed to reproduce that. Which version of the Segger software are you using?
January 25, 2016 at 21:50 in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7536support
KeymasterHi,
Then we would recommend asking the camera vendor for a C++ project example showing how to use their library. You can then import that example into a VisualGDB project and step through it to understand how it works.
support
KeymasterHi,
No worries, we’ll help you get it right.
First of all, please use just the function name without brackets (e.g. TestFunc, not TestFunc()). Then if it does not help, run “nm <library name>” without grep to see if the library symbols can be viewed at all.
If ‘nm’ does not provide reasonable output, you can also run “objdump -t <library name>” to list the symbols using another method.
You can also run “stat <library name>” to see the modification time of the library. If you are using the old version you should clearly see it from the modification time.
Remember, your code inside the library must actually call the TestFunc(), as otherwise it will be discarded by the linker as an unused function.”
If nothing helps, please share the output of the nm and objdump commands here.
support
KeymasterHi,
This error means that the SSH server simply drops the connection. The only way to diagnose this is to reproduce it on a simpler setup (1 machine, 1 project) and experiment with the SSH server settings to see what causes the error. Perhaps deploying a large file or trying to deploy several files sequentially causes the problem.
support
KeymasterHi,
Thanks, we have reproduced and fixed it in the upcoming Beta 1 (after Preview 2). As a workaround, please use the Debug->Program without debugging command.
support
KeymasterHi,
You should be able to replace the contents of the <SysGCC>\esp8266\esp8266-bsp\RTOS-SDK folder with the new RTOS SDK in order to update it.
As for the context switching, preventing it may interfere with some internal logic of the ESP8266 drivers, so we would not recommend doing that. To be 100% sure, we would recommend asking he Espressif support, as they have developed the SDK and should know the exact answer.
support
KeymasterHi,
Not sure which exact setting you mean, but we have added a button to VisualGDB 5.1 Preview 2 that controls whether the code completion popup appears when you press Ctrl-Space or automatically when you start typing.
Simply use the leftmost button with the lightning icon in the completion popup to switch this mode.
support
KeymasterHi,
Normally you can select the device in VisualGDB Project Properties -> Debug settings. Then VisualGDB will remember it and pass it to the Segger tool so it won’t ask it each time.
Let us know if this does not work.
support
KeymasterHi,
Thanks for reporting this, looks like the nRF51 port of mbed expects you to program the softdevice separately. We have published a detailed tutorial showing how to edit the linker script to embed the softdevice in your project just like VisualGDB does normally: http://visualgdb.com/tutorials/arm/mbed/nrf51/
As for nRF52, we will happily support it once mbed officially supports it. If there is an unofficial port already, you can run our open-source mbed BSP generator on it and import the resulting BSP into VisualGDB.
January 25, 2016 at 05:49 in reply to: Unable to debug std::map when cmake is configured with flag -std=c++11 #7524support
KeymasterHi,
OK, please try the latest VisualGDB 5.1 Preview 2. You can tell it that a type A is an alias for type B by adding a .natvis file to your project with the following contents:
<?xml version="1.0" encoding="utf-8"?> <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> <Type Name="std::vector<int>"> <AlternativeType Name="IntVector"/> </Type> </AutoVisualizer>
Note that the Type element should not contain any elements other than AlternativeType, otherwise instead of using the normal STL visualizers VisualGDB will actually follow the Natvis rules defined in the .natvis file.
support
KeymasterHi,
OK, folks, we have added mbed support to VisualGDB.
Please try the newest 5.1 Preview 2.
A detailed tutorial is here: http://visualgdb.com/tutorials/arm/mbed/
support
KeymasterHi,
Perhaps some of the data gets overwritten? Please try setting a breakpoint right after initializing them with zero and use the Watch window to check whether they actually contain zeros. If not, check that those variables actually fit in the RAM area of your device. If yes, try setting a data breakpoint on one of them to see what code modifies it.
January 23, 2016 at 06:13 in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7518support
KeymasterHi,
Not sure what do you mean by the constructor library, but we actually have a tutorial showing how to access Raspberry Pi camera from your VisualGDB projects: http://visualgdb.com/tutorials/raspberry/camera/
And another one with OpenCV: http://visualgdb.com/tutorials/raspberry/opencv/camera/
Consider following those to get basic understanding of using external libraries with VisualGDB.
support
KeymasterHi,
Thanks for reporting this, we have fixed it in the upcoming Preview 2.
support
KeymasterAccording to this thread, it looks like this is no longer possible in VS2015. Consider leaving feedback there so the VS guys could consider fixing this.
-
AuthorPosts