support

Forum Replies Created

Viewing 15 posts - 6,451 through 6,465 (of 7,731 total)
  • Author
    Posts
  • in reply to: 5.1 Preview 2 – Out of memory exception #7586
    support
    Keymaster

    Hi,

    That makes sense. VisualGDB keeps a log of all GDB commands to display them in the GDB Session window, so a log over 700 MB + formatting and timestamps could easily exceed the maximum 2GB allowed per user-mode process.

    What happens if you clear the gdb session log from time to time? Does it reduce the memory usage of devenv.exe in Task Manager?

    in reply to: Feature request: Cortex ITM/SWO support #7585
    support
    Keymaster

    Hi,

    You can then use a combination of an additional startup command in VisualGDB Project Properties and the Raw Terminal (Custom and Ultimate editions only). Simply configure the terminal to connect to the port where Segger forwards the tracing output.

    in reply to: nrf52832 SDK Version problem? #7584
    support
    Keymaster

    Hi,

    Please try downloading the newest Nordic SDK and replacing the contents of the C:\Users\LabUser\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x\nRF52 folder with it.

    support
    Keymaster

    Hi,

    Normally this should not happen. Can you close the .cpp file, open the View->Clang IntelliSense Diagnostics console, clear it and open the .cpp file again?

    The console should show some diagnostic messages explaining why VisualGDB decides to use Clang IntelliSense for this file. If they do not clarify the situation, please post them here so that we could suggest further steps.

    in reply to: Raspicam example not working #7576
    support
    Keymaster

    Hi,

    Does it work when you run your program manually via SSH? If not, the only advice we could give is to try stepping into the library code and figuring out why it cannot open the device. Perhaps the device is already open by some other app?

    • This reply was modified 9 years ago by support.
    in reply to: STM32 Memory Problem #7575
    support
    Keymaster

    Hi,

    Good to hear you got it to work. Regarding the size, please try switching to newlib-nano. It significantly reduces the size of your binary.

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7574
    support
    Keymaster

    No problem. Let us know if you run into further problems.

    support
    Keymaster

    Hi,

    You should be able to add a normal text file and rename it to .natvis manually.

    If this does not help, can you archive the repro project and send it to us?

    in reply to: Feature request: Cortex ITM/SWO support #7572
    support
    Keymaster

    Hi,

    You should be able to automate this command via the Additional GDB Commands in VisualGDB Project Properties, so there is no need to change anything on our side.

    BTW, VisualGDB 5.1 supports a new fast semihosting mechanism that is based on the same technology as Live Variables. It uses a circular buffer inside your program to send semihosting output without stopping the program, resulting in much higher speeds. Please consider giving it a try (you will need to enable it on the Embedded Frameworks page).

    support
    Keymaster

    Good to know it works. If you run into further problems, let us know.

    in reply to: Raspicam example not working #7559
    support
    Keymaster

    Please try setting the “run GDB as root with sudo” flag in VisualGDB Project Properties.

    in reply to: STM32 Memory Problem #7558
    support
    Keymaster

    Yes, that should help. Also VisualGDB 5.1 Preview 2 automatically verifies _estack by trying to write at _estack – 4 and check that the memory gets actually modified.

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7557
    support
    Keymaster

    Hi,

    Yes, the library should be suited for ARM devices. Furthermore, it should be compiled with the matching CPU type, ABI and floating point settings.

    Please ask the vendor for a specific library for Raspberry Pi or the library sources so that you can build it yourself.

    in reply to: VisualGDB error: cc1plus.exe: out of memory allocating #7556
    support
    Keymaster

    Cool, thanks for sharing this.

    in reply to: VisualGDB can't debug parts of a library #7555
    support
    Keymaster

    Hi,

    Good to know it works, if you encounter any other problems, feel free to create a new topic.

Viewing 15 posts - 6,451 through 6,465 (of 7,731 total)