support

Forum Replies Created

Viewing 15 posts - 5,461 through 5,475 (of 7,850 total)
  • Author
    Posts
  • in reply to: Partially Memory Dump #10895
    support
    Keymaster

    Hi,

    You can use the dump command via the GDB Session window to dump arbitrary memory regions to disk.

    in reply to: User Vars missing from VisualGDB settings #10894
    support
    Keymaster

    Hi,

    The user variables are supported starting from the Custom edition. If you are using a lower edition, VisualGDB won’t display the related property pages.

    You can always upgrade your edition via http://sysprogs.com/splm/mykey or simply use the Windows environment variables instead if you don’t need the other Custom edition features.

    in reply to: DEBUG defined in gcc_Debug.h? #10884
    support
    Keymaster

    Hi,

    It is defined there because VisualGDB normally defines the DEBUG macro for the debug configurations to distinguish them from release ones.

    You can simply remove it from the “preprocessor macros” field via VisualGDB Project Properties and click “Apply” to regenerate the gcc_Debug.h file automatically.

    in reply to: Xilinx Zynq (custom gdb stub) #10883
    support
    Keymaster

    Hi,

    Sorry, we don’t support Zynq directly as it’s not as popular as other platforms and the tools are not very reliable. Feel free to try it and post any errors you encounter. We will try to help you resolve it, but we cannot guarantee that it will work.

    in reply to: syncing every file? #10877
    support
    Keymaster

    Hi,

    Normally VisualGDB should recognize the symlink and convert it to a corresponding directory symlink on the Windows side. If this does not happen, could you share the error message you are getting?

    in reply to: Switching to cross compiling #10876
    support
    Keymaster

    Hi,

    No problem. You can still use the GNU Make for remote builds and MSBuild for local ones, but it will require manually moving the settings around if you want to keep them synchronized. If something does not work with this setup, let us know and we will help you fix it, but it will be somewhat less intuitive and less straight-forward than using the same build system for all configurations, sorry.

    Just FYI: for MSBuild projects you can still use VisualGDB Project Properties to edit common settings like Include Directories. We specifically designed a page with the same look&feel as the regular Makefile properties that edits the underlying MSBuild properties to make it easier for users who are got used to the Make-based projects.

    in reply to: Memory window adress bug #10871
    support
    Keymaster

    Hi,

    Thanks, the +0x10 is indeed a bug on our side. We have fixed it in this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.16.1458.msi

    Regarding the local variables, it could be quite time-consuming to query their ranges from gdb, so we don’t currently do it. We will re-investigate this in v5.3 and will consider adding an option to do that.

    in reply to: syncing every file? #10870
    support
    Keymaster

    Hi,

    Thanks for clarifying this. This is a known issue that was not addressed as it only occurs once after the initial import. It does look like a major disturbance with git, so we will fix this in the early preview builds of VisualGDB 5.3 (available in the next 1-2 months).

    in reply to: Intellisense performance (part 2) #10869
    support
    Keymaster

    Hi,

    The log actually shows that VisualGDB rebuilds the entire file instead of reusing the precompiled part. Can you confirm that you see the “PSF 0 (normal preamble) does not match main file.” message even after small localized changes?

    Another clue here is that your source code is located on a remote system. Network can introduce significant delays when reading many small files (due to latencies) and that can significantly impact the parse time. Could you try moving the sources on the Windows side and checking if it makes things faster?

    in reply to: Switching to cross compiling #10868
    support
    Keymaster

    Hi,

    You can convert non-MSbuild projects to MSBuild via right-clicking in Solution Explorer, but not back.

    BTW, is there any reason why you don’t want to use MSBuild for remote projects? We have thoroughly optimized it to be fast and efficient in both modes (for remote builds it actually generates a temporary Makefile and runs Make on the Linux side), so we recommend it for all new projects.

    in reply to: Refreshing the stack after loading libraries? #10867
    support
    Keymaster

    Hi,

    Thanks, we can address it in v5.3. Can you confirm that the “bt” command issued manually displays the correct (new) stack?

    support
    Keymaster

    Hi,

    Looks like you are trying to debug the .hex file instead of the ELF file (has no extension by default). Please double-check your debug settings; the ELF file contains the necessary symbol information and is vital for debugging.

    in reply to: Switching to cross compiling #10859
    support
    Keymaster

    Hi,

    Please use the VisualGDB Project Properties window to create new configurations. It will ensure that all the settings get copied properly.

    The Win32/VisualGDB platforms is a side effect of the way Visual Studio manages configurations/platforms. The MSBuild-based projects use the “VisualGDB” platform name, while the rest (e.g. Make-based) use Win32. If you are only using MSBuild, you don’t need the Win32 platform and can normally delete it. If your project uses both MSBuild and non-MSBuild build systems in different configurations, you will have 2 separate copies of each configuration (one for Win32 and one for MSBuild) due to VS limitations.

    in reply to: syncing every file? #10858
    support
    Keymaster

    Hi,

    WinGDB is a product that comes from a different vendor, so please contact them for support. If you mean VisualGDB instead, please try enabling the verbose mode via Tools->Options->VisualGDB and check your build output for messages explaining why the files are retransferred.

    in reply to: Using static libraries #10857
    support
    Keymaster

    Hi,

    It could be the extern “C” issue. Please try following this tutorial for instructions on fixing it: https://visualgdb.com/tutorials/tips/externc/

Viewing 15 posts - 5,461 through 5,475 (of 7,850 total)