Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
Sorry, have not received your settings screenshot yet. BTW, we have released VisualKernel 1.1 that supports debugging kernel over network. Let us know if that works for you better.
support
KeymasterYes, this is correct. You need to specify the library name without the extension and the ‘lib’ prefix. E.g. just ‘pthread’ for libpthread.a. This comes from the syntax of gcc’s -l command that searches for the libraries automatically using the short library names. And as the linking happens on the Windows machine, the libraries should be present there (i.e. copied during sysroot synchronization).
support
KeymasterHi,
The problem happens when VisualGDB runs a temporary script that is supposed to return the Pseudo-TTY name and instead gets something that does not look like a device path. This happens because your SSHD server tries to run some commands just before executing our script. I.e. some of the initialization scripts contain a reference to /usr/bin/X11/xauth, but the file is missing due to some reason.
Note that when you connect with PuTTY, it uses the SSH shell mode, not the SSH command mode, that uses slightly different initialization scripts. Please try looking up what file could be referring to xauth and why it is missing.support
KeymasterHi,
We don’t invest into supporting Atmel devices because they have their own Visual Studio-based IDE (Atmel Studio). If there are third-party tools supporting DragonLink with GDB (i.e. implementing gdbserver), you could easily plug them in. Let us know if you need more details.
You can always upgrade VisualGDB to a higher edition. However, the upgrade price depends on the time of upgrade. E.g. if you upgrade within the first month it’s just the price difference and if you want upgrade after the support/update year ends, you would need to pay the full price again.
June 19, 2014 at 00:17 in reply to: STM32.How can i watch variables renamed by #define in Debug #3229support
KeymasterHi,
Unfortunately the GCC compiler does not emit enough information about defines to parse them during debugging. However, VisualGDB has a separate mechanism of tracking peripheral register names and replacing them with the corresponding expressions in the Watch window. If your register is not recognized, you can try editing the device definition files in %LOCALAPPDATA%VisualGDBEmbeddedBSPsarm-eabicom.sysprogs.arm.stm32devices (you can unzip the xml.gz file and just keep the .xml one, VisualGDB will use it automatically).
support
KeymasterHi,
Could you please check your virtual COM port settings on the virtual machine? Does the COM port number there match the number in VisualKernel settings? Could you please attach the screenshots of both COM port settings dialog and the VisualKernel debug settings dialog?
BTW, if you are using VMWare, it is recommended to use VMWare GDB stub (http://sysprogs.com/VisualKernel/tutorials/vmware/) instead of a virtual COM port, as it’s much faster and more reliable.
support
KeymasterHi,
The easiest way to have a pre-build action without using the custom edition features would be to change the make command to run a bat file that first runs your custom command line and then invokes GNU make. It is not as convenient as the pre-build action list, but may work for some basic scenarios.
support
KeymasterHi,
Could you determine which include file causes this? Does it still happen on a default “hello, world” project? Could you share a screenshot of your IntelliSense settings page of VisualGDB Project Properties?
support
KeymasterHi,
Do you mean the pre-build steps in VisualGDB Project Properties? They are only available in Custom and Ultimate editions. If you were using a trial before and then bought a lower edition, the options would go away after the trial expires.
support
KeymasterHi,
Please refer to the following topic regarding precompiled header support: viewtopic.php?f=5&t=2769
support
KeymasterHi,
The main reason why we did not add this feature is because VS is extremely slow when dealing with projects containing lots of source files. Simply opening a project containing the entire Linux kernel can take several minutes, adding the files one-by-one using VS interfaces would take more than 3 hours. The new recursive import feature solves this by closing the solution file, modifying it manually and reopening it, but that would still degrade project opening performance if lots of files are added. Please try using the new recursive import feature and if you don’t notice considerable delays when using it manually, let us know so that we could add an option to run it automatically when new files are detected.
support
KeymasterHi,
VisualGDB stores the list of source files in the Makefile itself that is shared between configurations. Configuration-specific flags are stored in
.mak files that are not affected by adding/removing source files. support
KeymasterHi,
In order to use GDB from a different machine you will need to set the ‘allow choosing build/clean/debug command hosts independently’ checkbox on the Project Settings page.
Note that if you don’t want to use gdbserver, you need to disable the ‘deploy executable’ checkbox on the Project Settings page and deploy it manually by adding a file transfer action to pre-debug steps.support
KeymasterHi,
That’s a bit strange as both tools use the same SSH engine. Are you using different users with different shells?
support
KeymasterHi,
Do you mean the toolchains for building windows applications with MinGW or are you talking about some embedded ones?
-
AuthorPosts