Forum Replies Created
-
AuthorPosts
-
June 3, 2015 at 21:52 in reply to: Re-initializing Visual Studio project when linux Makefiles change #6560
support
KeymasterWe would recommend checking in the .vcxproj files and the .vgdbsettings files to your source control system. When other developers add more source files, the checked in Visual Studio project will be updated and you will automatically receive the changes when you update your checkout.
support
KeymasterHi,
How long does it take to program your binary using the official STM32 ST-Link tool? If that tool takes the same time, it’s probably a limitation of ST-Link.
If you want better performance, we would recommend trying out Segger J-Link. It’s more expensive, but it comes with its own GDB stub that is generally better than OpenOCD.
support
KeymasterHi,
Yes, you can customize this via the Debug Settings page of VisualGDB Project Properties (look at the bottom of the page).
support
KeymasterHi,
Unfortunately, Visual Studio variables are not supported. Only VisualGDB variables and your Windows environment variables will work. Can you give an example of you what do you mean by “target name”?
support
KeymasterHi,
Thanks for sharing the solution that worked for you. You can also avoid logging on as root by fixing the permissions in /usr/lib (sudo chmod -R a+r /lib) and specifying “Run GDB as root” in VisualGDB Project Properties.
support
KeymasterWell, not exactly years 🙂
Anyway, the final WinCDEmu 4.0 is out. We have also published the source code with all dependencies on GitHub: https://github.com/sysprogs/WinCDEmu
Now that the source code can be conveniently accessed via GitHub, I would like to invite everyone to contribute to the project. I started WinCDEmu many years ago as a hobby project and during these years it has grown to be a nice and nifty tool. However, realistically speaking, I won’t have the capacity in the near future to add any major features to it. That’s why I did my best to make it as easy as possible for everyone to build WinCDEmu and contribute new code to it. The GitHub repository contains one easy-to-build solution that can be opened with VS2010-2015 and it will automatically check for missing dependencies and display instructions on getting/installing them. I will be happy to answer your questions about BazisLib/WinCDEmu structure and to suggest ways of adding the features wanted by the community. I am also open to contributions as long as they don’t break the existing functionality 🙂
support
KeymasterHi,
You can disable the VisualGDB GDB warning window by increasing the GDB command time-out in Tools->Options->VisualGDB->General->Tweaking->GDB command timeout.
If you want to try speeding up the debugging experience, please share a GDB log with timings as described here. It should provide enough information on which exact commands are being slow.P.S. Are you using a USB virtualization software or is ST-Link connected directly to your Windows machine?
support
KeymasterHi,
We do understand that the price of VisualGDB could be high for non-commercial users and hence we offer student and open-source discounts. We also provide affordable Embedded and Linux editions that support a lot of the functionality needed by hobbyists. Higher editions like Custom and Ultimate are focused on providing usability for large teams and complex multi-machine setups that are rarely used by hobbyists.
VisualGDB is a productivity tool: it makes things that could be quite complex with Eclipse and other open-source tools easy and seamless. In order to keep the high quality of our product and continue offering new exciting features like the new intuitive refactoring we do need to charge a fee for the VisualGDB licenses. If you believe the price does not justify the saved effort, we would recommend trying out free tools like Eclipse or vim.
support
KeymasterThe refactoring features are available in all editions of VisualGDB including the Embedded edition that is much cheaper than $200.
support
KeymasterHi,
We have just added a new tutorial explaining how to use VisualGDB with the Keil compiler: http://visualgdb.com/tutorials/arm/keil/
support
KeymasterHi,
VisualGDB refactoring is supported via smart tags. Currently we support the following features:
1. When you rename a variable, a smart tag will appear allowing you to update all references.
2. When you click on an interface specification that is not implemented by a class, VisualGDB will show a smart tag allowing to implement missing methods
3. Similarly when you type in a declaration for a new method, VisualGDB will show a smart tag allowing to generate implementation.
4. If you call a function/method/constructor that does not exist yet, VisualGDB will show a smart tag allowing you to create it.You can read more about the refactoring features here: http://sysprogs.com/w/visualgdb-5-0-beta-1-refactoring-and-c-codemap/
support
KeymasterHi,
We will add an OpenOCD 0.9.0 package as a part of the upcoming VisualGDB 5.0 release. It should improve the integration with the new ST devices. The main issue of the Texane tool is that sometimes it leaves the ST-Link in an invalid state and does not start another session unless you unplug and replug it. OpenOCD does not have this problem.
Could you provide some examples of things poorly documented in VisualGDB project samples so that we could improve that?
support
KeymasterHi,
The makefiles are generated on project level to avoid better flexibility (e.g. combining projects using different build systems in one solution). In order to build all projects in the solution from Linux, you can simply create a script that will invoke Make for each project, e.g.:
make -C project1 || exit 1
make -C subdir/project2 || exit 1
…
make -C projectN || exit 1support
KeymasterHi,
Normally VisualGDB should run the ‘chmod’ command automatically. Does it also happen with an empty “hello, world” project on the same board?
support
KeymasterHi,
VisualGDB 5.0 Beta 2 is out.
-
AuthorPosts