support

Forum Replies Created

Viewing 15 posts - 3,376 through 3,390 (of 7,972 total)
  • Author
    Posts
  • in reply to: Clean deletes all files on remote host cmake projekt #24406
    support
    Keymaster

    Thanks for sharing the details – it helped pinpoint the problem on our side. We have added a check for this case and an option to clean the projects via “make clean” in this build: VisualGDB-5.4.103.3020.msi

    in reply to: Embedded Memory Explorer failure #24405
    support
    Keymaster

    @grindstaffp, thanks for sharing the specific steps that helped us reproduce the issue on our side.

    Indeed, this was a glitch caused by the new background loading mechanism introduced in R3. Please try this build: VisualGDB-5.4.103.3020.msi

    in reply to: VS2017 debugging disassembled Thumb2 code problems #24404
    support
    Keymaster

    GDB should not normally interfere with it, however you can quickly check whether your device supports it by inserting some code with this instruction into a basic LEDBlink program using some inline assembly and then using Debug->Program and start without debugging. If this stops the LED from blinking, your device may not support this instruction.

    in reply to: VS2017 debugging disassembled Thumb2 code problems #24400
    support
    Keymaster

    The IT instruction might not be supported by your device. Please double-check its documentation to be 100% sure.

    in reply to: VisualGDB running as TFS remote build failure #24399
    support
    Keymaster

    No problem. The IntDir might have been set in a different order then (i.e. before VisualGDB computes the paths of some intermediate files). Either way, we have added the checks for this case in the new build, so unless you encounter further problems, the project should be good to go.

    in reply to: Embedded Memory Explorer failure #24388
    support
    Keymaster

    Thanks for the project file. We have tried reproducing this on our side, however could not get the behavior you described, so we added more logging to the related logic in VisualGDB.

    Please try this build: VisualGDB-5.4.103.3019.msi

    Please open your project, confirm that the menus are still not shown, then click Help->About VisualGDB to force VisualGDB to load. Once it is loaded, open View->Other Windows->VisualGDB Diagnostics Console and enable the logging. The console will already have the output from the project load hook. Please share it here and we will be able to see what is going on.

    in reply to: VisualGDB running as TFS remote build failure #24387
    support
    Keymaster

    Thanks, looks like your project did not have the $(IntDir) variable set and that triggered an unexpected path format inside VisualGDB. We have added a check for it in the following build: VisualGDB-5.4.103.3019.msi

    in reply to: cannot open shared object file #24386
    support
    Keymaster

    Hi,

    Most likely the library mentioned in the error message is either corrupt, or is not installed in the correct path. Please try ignoring the error and proceed to debugging the project.

    If the error reoccurs, please try using the View->Other Windows->VisualGDB Diagnostics Console to see the exact command line used by VisualGDB to start debugging and then try running it manually via SSH. If the problem can be reproduced, please double-check LD_LIBRARY_PATH variable and the actual .so files present in the path directories.

    in reply to: IntelliSense issues with 5.4R3 #24385
    support
    Keymaster

    Hi,

    The previous versions of VisualGDB would still try to guess the IntelliSense parameters for the files that are not directly compiled, but would indeed not show the warning.

    Either way, we can help you pinpoint this. Please identify a specific source file that triggers the problem and take a note of its full path (right-click on the document tab header and select “copy full path”). Then open View->Clang IntelliSense Diagnostics Console, switch it to the Project Structure view and check if the file is listed there with the exactly the same path. If it is not and you are not sure why, please share more details about your project (project type, what files from the project are listed, what are not, etc.).

    Please also try reducing the solution to just 1 project (ensure you reload it afterwards) – it should make diagnostics easier.

    If the problem only happens for header files, please let us know and we will share updated instructions.

     

    in reply to: Build ESP32 project #24384
    support
    Keymaster

    The version shipped with VisualGDB was also downloaded from the official Ninja site, although it’s likely a different version.

    support
    Keymaster

    Thanks for clarifying this.

    It might be caused by some recent changes in the v3.3 codebase (we have checked it with a v3.3 checkout made earlier and could not reproduce the problem). Given how fast Espressif adds and deprecates various internal structure changes, we will have to wait until v3.3 is officially released before we can fully support it on our side.

    As a workaround, please consider editing CMakeLists files manually.

    in reply to: STM32G0 OpenOCD patches #24381
    support
    Keymaster

    Thanks for sharing this. Segger usually does a pretty good job at being up-to-date with the latest devices and protocols and it’s good to know they now support STM32G0 as well.

    ST will likely contribute some level of STM32G0 support to OpenOCD in the next few months, but Segger usually starts supporting new devices faster.

    in reply to: Build ESP32 project #24380
    support
    Keymaster

    You should be able to do this by reusing the build command line shown in the VisualGDB build log (you can find the CMake parameters in View->Output->Advanced VisualGDB Project Output when opening the project), however you may need to setup some additional environment (e.g. cmake/ninja paths).

    in reply to: VisualGDB is hanging #24379
    support
    Keymaster

    Hi,

    Sorry, based on your description, it looks like the slowdown comes from gdb itself processing the thread events (that is outside VisualGDB’s control) and VisualGDB/Visual Studio processing the excessive GDB output. E.g. each time VisualGDB reports a new thread to Visual Studio, it would update multiple internal structures (and the Threads window if it’s open) and it was likely never designed for the “new thread every few milliseconds” scenario.

    Although we could optimize VisualGDB to reduce its impact on the slowdown, given that this scenario is unlikely for regular debugging and that both GDB and Visual Studio contribute heavily to the slowdown, it would likely not improve the GUI responsiveness, sorry.

    support
    Keymaster

    Hi,

    Thanks for reporting this. We have tried reproducing it on a clean project, however we could not get the behavior you described.

    Please try checking if the problem can be reproduced on a clean project on your side. If yes, please let us know the ESP-IDF version you are using. If not, please try comparing your project with the clean project, as the issue might be triggered by some small change that is only present in your project.

Viewing 15 posts - 3,376 through 3,390 (of 7,972 total)