support

Forum Replies Created

Viewing 15 posts - 2,356 through 2,370 (of 7,829 total)
  • Author
    Posts
  • in reply to: VisualGDB slow #27292
    support
    Keymaster

    Thankfully, VisualGDB has much more to offer than just a shortcut for launching make.exe 🙂

    Either way, thanks for the log files. Looks like the new logic for analyzing linker messages was working slower than expected for long build command lines. We have optimized it in the following build: VisualGDB-5.5.3.3470.msi

    in reply to: Static Stack Analysis #27290
    support
    Keymaster

    No problem. Please try right-clicking on the project node in Solution Explorer and select Add->Reference->Browse, then pick the full path to VisualGDBExtensibility.dll in the VisualGDB’s directory. This should resolve the build errors.

    in reply to: Error when building MBED Project Importer #27288
    support
    Keymaster

    Hi,

    No problem, we have updated the sample project resolving this. Please update your local git checkout.

    in reply to: Can't use ARM Toolchain? #27286
    support
    Keymaster

    Hi,

    The ARM toolchain only works with barebone targets. For more information on Linux cross-toolchains please see this page: http://visualgdb.com/hwsupport/linuxboards/

    • This reply was modified 5 years, 6 months ago by support.
    support
    Keymaster

    Hi,

    You can disable VisualGDB updates via a checkbox at the bottom of the Manage VisualGDB Packages window. Also VisualGDB 5.5 Preview 3 allows disabling updates for a specific version of the package.

    We understand that there is likely a bug in the new BSP, however we absolutely do not control the contents of the ST’s SDKs and it is absolutely not possible for us to provide free bugfixes to a major SDK maintained by a huge company, sorry. The best we could do is if you confirm that the problem exists with a freshly created VisualGDB project but does not exist when creating a similar project with the ST’s Eclipse-based IDE. If this is the case, we can help you find the difference between the 2 projects and update the VisualGDB project to replicate the other project’s results.

    support
    Keymaster

    Hi,

    Please refer to the following page for the instructions on downloading the old packages: http://visualgdb.com/support/oldpackages/

    in reply to: Static Stack Analysis #27273
    support
    Keymaster

    No problem. First of all, please try right-clicking on the function entries that did not get analyzed correctly and select “View Analysis Log”. This should highlight the code paths triggering various warnings.

    You can then customize the analyzer by cloning the following project: https://github.com/sysprogs/VisualGDBExtensibilityExamples/tree/master/PlatformSpecificStackAnalyzers/ARM. Simply build the ARMStackUsageAnalyzer.dll file and copy it into <VisualGDB Directory>\StackAnalyzers, replacing the version shipped with VisualGDB. You can then use another Visual Studio instance to step through ARM-specific stack analysis logic or to modify it to support project-specific cases.

    The Disassembly view would show the results once you select a specific function on top of the view.

     

    in reply to: Creating Project does not complete #27272
    support
    Keymaster

    Hi,

    The most common cause of this issue would be another dialog window opening up in the background. Due to WinForms/WPF interop issues, dialog windows sometimes appear underneath the regular VS window and are hence not visible. Please check the task list (Alt-Tab) and the VS icon in the Task Manager to see if there are any extra dialog windows (e.g. confirming some missing tools).

    If it doesn’t help, please try updating to VisualGDB 5.5 Preview 3 and let us know the exact project type you are creating (Embedded/Linux/etc; CMake/MSBuild/GNU Make) and also whether the problem triggers for other project types. Also please share a screenshot and a call stack or the frozen VS instance once it freezes for about 1 minute or more.

    in reply to: Test Container not building on Jenkins #27271
    support
    Keymaster

    Hi,

    Yes, please use the following setting: VS Project Properties -> General -> General -> Generate a test container file = Yes.

    Note that this setting is stored separately for Debug/Release configurations, hence you need to update it for every relevant configuration.

    in reply to: VisualGDB-Debugger: Custom Working-Directory #27270
    support
    Keymaster

    Hi,

    Based on the description you provided, everything should work. Hence the problem is likely caused by some small detail that was omitted from the description. Please share the screenshots of all the relevant settings (including the exact error message you get) and we will help you understand what is going on. If you do not wish to post them publicly, please consider sending them via our support form instead.

    in reply to: VisualGDB- Use Visual studio macros. #27269
    support
    Keymaster

    No problem and good to know it works. If you encounter any further problems, feel free to get back to us.

    in reply to: ESP32-IDF – setting #define on a per config basis #27257
    support
    Keymaster

    Sorry, CMake-based projects currently only support the predefined set of configurations (such as Debug, Release, etc). In order to create multiple debug configurations, please consider creating multiple VisualGDB projects (.vgdbcmake) wrapping the same CMakeLists file. Then you can set additional per-project CMake definitions via VisualGDB Project Properties.

    in reply to: substitutions in custom project templates #27252
    support
    Keymaster

    No problem, please try this build: VisualGDB-5.5.3.3461.msi

    We have also added a checkbox in the Export Template window that allows automatically replacing the exported project’s name with $$PROJECTNAME$$ in file names and contents.

    in reply to: Multi Project Linker Silent Failure #27251
    support
    Keymaster

    No problem, please try this build: VisualGDB-5.5.3.3461.msi

    We have added the following option: VS Project Properties -> Exported Settings-> Link as Whole Archive (needs to be set for the library). After you set it, next time you build the main project, VisualGDB will automatically inject the –whole-archive option into the linker command line (see the .link.rsp file). Note that if you don’t change any other files after applying this option, it won’t trigger a rebuild of the main project.

    in reply to: VisualGDB slow #27247
    support
    Keymaster

    Thanks for checking everything. The memory utilization computation was the last fix that went into Preview 3, hence it is indeed only present in that specific build.

    If you are using GNU Make, the build results should normally be completely the same, since all VisualGDB does is launches make.exe in the project’s directory.

    In order to troubleshoot it, please do the following:

    1. Try comparing the fast and slow build logs. Is there any difference? Does VisualGDB 5.5 consistently rebuild all files, while VisualGDB 5.4 only build changed files?
    2. What happens if you run VisualGDB.exe /build … (see the VS Output window for the full command line) manually from the Command Prompt? Is the build still slow?
    3. What happens if you run make CONFIG=Debug (see the VS output window for the command line again) in the project directory (you may need to set BSP_ROOT and TOOLCHAIN_DIR via environment)? Does it also build slowly?
Viewing 15 posts - 2,356 through 2,370 (of 7,829 total)