support

Forum Replies Created

Viewing 15 posts - 5,896 through 5,910 (of 7,816 total)
  • Author
    Posts
  • in reply to: Use "–defsym" in LDFLAGS #9538
    support
    Keymaster

    Hi,

    The “$(shell)” expansion is specific to GNU Make. I.e. if you just put it into a .bat file, Windows won’t expand it, however if you put it into a Makefile as shown in the previous post and run make.exe from your toolchain, it should get substituted properly.

    in reply to: Debugging Child Process #9535
    support
    Keymaster

    Hi,

    Sorry for the delayed reply. We have done a research on this and it looks like gdbserver from gdb 7.10+ supports the ‘set follow-fork-mode’ properly.

    Please download the sources of the latest gdb (we tested 7.12), build them on your Linux machine and replace your normal gdbserver executable with the one built from the latest sources. This should resolve the problem automatically.

    in reply to: error when updating the header files in IntelliSense #9534
    support
    Keymaster

    Hi,

    Thanks for the project file. Unfortunately we still could not reproduce this as it seems to be caused by the layout of include directories on your remote machine.

    Please try the steps below to diagnose this further:

    1. Go to the CMake Project Settings page and change the ‘cflags’ or ‘preprocessor macros’ field (e.g. add a new dummy macro).
    2. Press “Apply” to trigger retesting of the toolchain and reloading of directories. This should do a clean rebuild of the previously deleted directory under RemoteSourceCache.
    3. Go to the IntelliSense Settings page and try reloading the directories. If the problem persists, please send us the updated project/.vgdbsettings file and a snapshot of the RemoteSourceCache\192.168.1.27 directory. This should help us reproduce this and understand why the problem happens.
    in reply to: create project as a Shared library (.so) + cmake #9533
    support
    Keymaster

    Hi,

    Sorry about that, it’s a known limitation. The easiest workaround would be to create a normal ‘application’ project/configuration and then replace the “add_executable” statement in CMakeLists.txt with “add_library”. If this does not work, let us know and we will add better GUI support.

    in reply to: Watch window display format #9532
    support
    Keymaster

    Hi,

    Are you using the latest version 5.2? We had a similar bug in v5.1 and it got fixed in v5.2.

    If yes, could you please attach your gdb session log so that we could check what is going on?

    in reply to: Mbed BSP for v5.1 #9531
    support
    Keymaster

    Hi,

    Thank for reporting this. We are aware of it and will resolve it in the final release of the BSP. Currently is should be safe to ignore this.

    in reply to: Debug executable started from another command #9530
    support
    Keymaster

    Hi,

    Please try configuring it as follows:

    1. In GDB Start mode select “start new instance”
    2. In “debugged program” select “/bin/sh”
    3. Set program arguments to <script file> <arguments>
    4. Add the following 2 commands to pre-debug commands:
    file <your executable launched by the script>
    set follow-fork mode child
    
    

    This should force gdb to start debugging sh with your script and then automatically switch to debugging your program once it gets started by the script.
    This will not work with gdbserver though and will require launching gdb on the target machine directly.

    in reply to: Support for new ESP32 (dual-core ESP8266 with bluetooth) #9529
    support
    Keymaster

    Yes, we got the hardware and will most likely release a BSP in the next few weeks.

    in reply to: Multiple user problem #9516
    support
    Keymaster

    Hi,

    Please give it a try. We have received a lot of feedback about slow debug startup in v5.1 and significantly optimized it in v5.2.

    in reply to: Debugging Child Process #9513
    support
    Keymaster

    Yes, this could be related to the extended remote mode. Are you using a cross-toolchain?If yes, could you try opening the Quick Debug window, selecting the normal gdb on the remote machine (not cross-gdb mode) and checking if set follow-fork works there?

    in reply to: Multiple user problem #9511
    support
    Keymaster

    Hi,

    Are you using the latest VisualGDB 5.2? This mechanism was improved in a few recent releases.

    in reply to: Debugging Child Process #9507
    support
    Keymaster

    Hi,

    This is starting to look like a gdb bug. Can you reproduce the same behavior outside VisualGDB?

    If yes, please try a newer version of gdb and see if running it as root solves the problem.

    in reply to: Support for STM32F769 Discovery board ? #9506
    support
    Keymaster

    Hi,

    You can just run the latest installer. It will update everything automatically.

    in reply to: Switch debugger between Linux and Windows #9505
    support
    Keymaster

    If you want to add a Windows configuration to an existing VisualGDB project, you can use the VS configuration manager to add it and then switch the configuration type from NMake to Application.

    Unless you are using the new MSBuild backend, VisualGDB configurations are normal NMake configurations (from VS point of view) that simply call VisualGDB.exe to do the actual build. If you change them back to normal Application configurations, VisualGDB won’t engage and you will be able to build an debug them normally.

    in reply to: Modal dialogs hanging VS #9504
    support
    Keymaster

    Hi,

    Sorry about that. VisualGDB 5.2 actually does most of the preparation steps in background threads, so it should not show any dialogs during session startup. Please try updating to the final v5.2.

    If it does not help, please let us know which exact dialog causes this because we are using a similar trick for most of them to avoid the problem you described.

Viewing 15 posts - 5,896 through 5,910 (of 7,816 total)