Forum Replies Created
-
AuthorPosts
-
supportKeymaster
Hi,
We have updated our OpenOCD package to support the Nucleo-F411RE board correctly. You can update it via Tools->Embedded Tools Manager.
supportKeymasterHi,
The kgdboe module that is used for network debugging only supports kernels starting from 3.8.0. Please update your kernel or use a different connection method.
supportKeymasterYou should be able to get it working using the Quick Debug feature. Let us know if you run into specific problems.
We will also do more investigation on our side and will consider publishing a tutorial.supportKeymasterHi,
The Raspberry Pi distro does not include Qt5 packages by default. If you download and install them from a third-party source (or build it from scratch), VisualGDB will support it just like it supports it on Ubuntu.
If you are not using the cross-compiler, your sources are uploaded to a directory like /tmp/VisualGDB/c/projects/xxx (selectable via project wizard) and built there. So the executable will be located in the Debug or Release subdirectory of the source directory.The message about libc.so.pdb does not indicate an error on its own. It simply means that the standard C library on the device does not have symbols (which is the default behavior). However normally the debugger should not stop inside the libc library unless there is some kind of error. Please examine the output window and the GDB session window for warnings and errors. You might have missing directories in the PATH or some other environment issues that cause the libc library to abort with an error.
supportKeymasterHi,
You need to update the Raspberry to have the compatible libraries like libc and libgcc. If you want to support the original Raspbian image, you need to use the same GCC version that the image has.
supportKeymasterHi,
Most likely you are using a corrupt image. Please download a fresh image from the Beaglebone website and re-flash it. Regarding IntelliSense, the error messages are caused by Visual Studio’s IntelliSense engine not being able to handle some GCC-specific constructs. We are currently working on a clang-based IntelliSense engine that will resolve this problem. We will be releasing a preview build within the next few weeks. Please feel free to give it a try once it is out.
supportKeymasterHi,
The “/usr/local/include/opencv” syntax won’t work with a cross-compiler. Please use either the full Windows path (D:/SysGCC/linaro/…/include/opencv) or the ‘=’ syntax (=/usr/local/include/opencv).
supportKeymasterHi,
First of all, you can increase the timeout before VisualGDB shows that box via Tools->Options->VisualGDB->Tweaking.
The timeout with “-data-evaulate-expression “sizeof(void *)”” is very strange, as this command does not involve communicating to the device, it should be handled locally based on the data from the ELF file. Hence, most likely the problem is in your GDB. You can diagnose it the following way:
* Try using a different version of GDB (selected on the Makefile Settings page)
* Try running the command manually via the GDB Session window. Does it always take that long or only during the first run?
* Select “all GDB interaction” in the GDB Session window and look for strange warnings. Does it take lots of time for GDB to load the initial symbols?
* Does your problem happen on smaller projects? If no, can you strip debugging symbols off some libraries you not currently stepping through? Does this improve performance?supportKeymasterHi,
Please try adding the following flags to CFLAGS/CXXFLAGS:
-static-libgcc -static-libstdc++
You can read more about -static-xxx flags here: https://gcc.gnu.org/onlinedocs/gcc/Link-Options.htmlsupportKeymasterHi,
You can get the pointer to the active QApplication object via QApplication::instance() method as described here: http://qt-project.org/forums/viewthread/9319
You can link the signals/slots with handlers using the Qt plugin for Visual Studio, however it is not as powerful as the WinForms or WPF editors.supportKeymasterHi,
Thanks for letting us know. The texane/st-link tool is not maintained by us, it’s an open-source tool (https://github.com/texane/stlink) that we simply compile and ship as a separate package. Feel free to submit a bugreport on the tool bugtracker.
supportKeymasterHi,
Thanks for sharing this. You can also select a custom toolchain in the VisualGDB Project Wizard, then VisualGDB will detect your toolchain version correctly and adjust IntelliSense accordingly.
supportKeymasterHi,
Please try the latest VisualGDB 4.3r2. It contains fixes for some bugs that could be causing this.
supportKeymasterHi,
Normally VisualGDB should test the toolchain when you modify the build flags on the Makefile Settings page of VisualGDB Project Properties. It will then extract the include directories reported by the toolchain and setup IntelliSense. If that does not happen for you, please check if toolchain testing reports any errors and if the IntelliSense page of VisualGDB Project Properties contains any entries at all.
supportKeymasterHi,
The templates are stored in XML files inside the “C:Program Files (x86)SysprogsVisualGDBProjectTemplates” folder. Please verify that the folder exists and that you can access it from Visual Studio (e.g. try opening an XML file via File->Open).
-
AuthorPosts