support

Forum Replies Created

Viewing 15 posts - 4,276 through 4,290 (of 7,876 total)
  • Author
    Posts
  • in reply to: ESP32 profiling #21025
    support
    Keymaster

    Hi,

    Sorry, the profiler is current ARM-only. ESP32 supports a technique similar to our fast semihosting, so long term we should be able to support profiling on ESP32 as well, however we don’t have any specific plans for this yet.

    support
    Keymaster

    Hi,

    Thanks again for checking this. Looks like the main thread’s call stack is missing one more step – right-click on the ntdll frames (and other unnamed ones) and select “Load Symbols”. This will unwind the stack correctly and will display the meaningful information.

    Based on your description, it is starting to look like a bug triggered by some combination of display drivers, resolution, etc, so it might be tricky to solve it on our side. You might be able to avoid it by setting the comment size limits via Tools->Options->Text Editor->C/C++ (VisualGDB)->Advanced->Code Completion->Max. following comment lines/Max. preceding comment lines.

    in reply to: Environment variables #21012
    support
    Keymaster

    Hi,

    No problem. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.3.2268.msi

    It adds support for $(SolutionDir) and $(SolutionPath) for ESP-IDF projects (only when built from Visual Studio).

    support
    Keymaster

    Hi,

    Thanks, this looks like the hang happens outside the VisualGDB (or any other .Net-based components), which is strange as most GUI-related object in Visual Studio is based on .Net.

    Please try attaching both ‘managed’ and ‘native’ modes and then recheck the main thread stack (you don’t need to attach other thread stacks as they are not related to the hang).

    in reply to: Static Link #21010
    support
    Keymaster

    Hi,

    There is no special GUI option for that, however you can accomplish it by adding “-Wl,-Bstatic -l<library name>” to the “Additional linker inputs” field. If this doesn’t work, please let us know your project type (MSBuild/Make/CMake/QMake) and we could suggest a better option.

    in reply to: Environment variables #20999
    support
    Keymaster

    Hi,

    The IDF_PATH should actually be handled by VisualGDB directly. Normally it takes the list of IDF checkouts from the toolchain directory, however if you are keeping a custom checkout together with your codebase, we could add a per-user list of IDF checkouts. So once you configure (once per development machine) that the “com.yourcompany.idf-patched” is located in c:\projects\idf, VisualGDB will find it automatically from all projects.

    support
    Keymaster

    Hi,

    No problem. We will try to fit this in the next preview build of VisualGDB.

    support
    Keymaster

    Hi,

    This might be caused by some combination of your VS version, video driver and the display resolution (that would explain why it doesn’t trigger on our side).

    We could add a setting that will limit the maximum amount of lines shown in the popups if this helps. However before that, please try attaching to the VS instance again and enable the “Show external code” option in the call stack. This should show what exactly the main thread is doing when VS is hanging.

    in reply to: Updating BeagleBone tutorials? #20995
    support
    Keymaster

    Hi,

    Currently we do not have plans for updating the Beaglebone tutorial as most of the steps shown in the current tutorial should still apply to the current version. That said, if you could let us know what exactly you found confusing/outdated, we should be able to update the tutorial to ensure it does not misdirect other readers.

    Regarding the program location, by default, VisualGDB will upload all the sources to the specified location on the Beaglebone (the default path is /tmp/VisualGDB/…) and build it there. Normally the built executable would be located in the <uploaded source directory>/Debug or <uploaded source directory>/VisualGDB/Debug folder.

    You can find out the exact path by starting a debug session and opening the GDB Session window in the All GDB Interaction mode. The first line should show the GDB command used to start debugging; this command should contain the full path to the built executable.

    in reply to: VisualGDB and Nordic SDK 14.2 #20994
    support
    Keymaster

    Hi,

    Sorry for the inconvenience. This looks like something that was fixed in the recent Nordic BSP hotfix (14.2R2). Please ensure you install the latest version via Tools->VisualGDB->Manage VisualGDB Packages.

    support
    Keymaster

    Hi,

    We have quickly tried reproducing this, however unfortunately could not get anything similar. Could you please try attaching another VS instance to the hanging one (ensure Managed mode is enabled) and check the call stack of the main thread when it’s hanging? If it contains anything from the VisualGDB assemblies, please let us know the exact build number (from the About VisualGDB window).

    in reply to: Environment variables #20981
    support
    Keymaster

    Hi,

    This might be tricky as the solution-level variables are not available to some parts of the build logic. Could you please clarify where exactly would you envision using this variable so that we could see if it could be supported?

    support
    Keymaster

    Hi,

    Thanks for the link. That version actually uses a completely custom makefile layout, so minor glitches are to be expected. If manually copying the file works, this is the recommended way to go around it.

    Regarding HTML, we could add an option to show the contents of additional manually specified directories in Solution Explorer for ESP-IDF projects. Would that work for you?

    in reply to: ESP32 toolchain #20979
    support
    Keymaster

    Hi,

    That should work as well. As long as the GNUTargetID is set properly, the toolchain ID and version can be set arbitrarily – VisualGDB will still recognize the toolchain properly.

    in reply to: Subscribe for site updates #20978
    support
    Keymaster

    Hi,

    Yes, we always twit about new tutorials and blog posts. Please consider following us on Twitter to stay tuned.

Viewing 15 posts - 4,276 through 4,290 (of 7,876 total)