support

Forum Replies Created

Viewing 15 posts - 4,261 through 4,275 (of 7,876 total)
  • Author
    Posts
  • in reply to: Go to definition / go to declaration #21064
    support
    Keymaster

    Hi,

    This is likely caused by VisualGDB updating its cache. Although normally VS should not hang for 15 seconds – instead it should display a detailed progress message.

    Either way, please try opening the View->Clang IntelliSense Diagnostics Console window. It will contain detailed output explaining what exactly the Clang engine is doing. Feel free to post some snippets from it and we can explain what exactly is going on behind the scenes.

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

    Hi,

    Some of the previous BSP releases from us contained a bug when selecting “softdevice programmed separately” caused the code to be compiled without softdevice support (i.e. excluding some functions and ultimately making the firmware unusable). The behavior you are describing might be caused by this bug.

    If the file produced by the Nordic build scripts is much smaller, please check the memory utilization via View->Embedded Memory Explorer. It should help quickly locate the functions responsible for most of the RAM/FLASH footprint. If most of the footprint comes from the standard library, please ensure you are using newlib-nano and our latest GCC toolchain.

    in reply to: Slow debug output #21059
    support
    Keymaster

    Hi,

    No problem. Let us know if you encounter any further issues and we will be happy to help.

    in reply to: gnu compiler question #21058
    support
    Keymaster

    Hi,

    According to our records, your 30-day trial has expired. In order to keep receiving technical support, please purchase a license.

    in reply to: Slow debug output #21055
    support
    Keymaster

    Hi,

    No problem, the non-blocking mode behavior looks like our bug. We have fixed it and updated the semihosting framework.

    Please install the latest version via VisualGDB Package Manager.

    in reply to: FastSemihosting issue? #21054
    support
    Keymaster

    Hi,

    This message means that gdb is unable to parse some data it receives from the gdb server (i.e. the Segger gdb stub). Please try running “set debug remote 1” via the GDB Session window to force gdb to dump all interaction between itself and the segger gdb stub, and then try submiting that log to the Segger support. They might be able to tell what is going on.

    support
    Keymaster

    Hi,

    Thanks for the update. The call stack looks like the main thread is waiting for some other window running on a different thread, and does not appear like anything related to VisualGDB.

    If limiting the comment lines to 5000 works, VisualGDB could have been incorrectly computing some comment block sizes (we’ve never seen any comment blocks that large in the ESP-IDF codebase), although we could never reproduce this on our side. If you could nail it down to a specific place in the code that triggers the problem, we should be able to investigate it further, otherwise the workaround with limiting the line count should a viable solution.

    in reply to: gnu compiler question #21052
    support
    Keymaster

    Hi,

    Please let us know the email associated with your license key so that we could verify your support status.

    support
    Keymaster

    Hi,

    Sorry, as the Advanced CMake projects are incompatible with the regular VC++ projects, the VS IntelliSense won’t work for them, hence the Clang IntelliSense is the only option.

    Please feel free to let us know if the Clang IntelliSense doesn’t handle some specific cases – we might be able to resolve this. We are also working on an experimental engine build based on the latest Clang 6.0 that improves compatibility with the latest C++ features.

    in reply to: Can't debug anymore #21043
    support
    Keymaster

    Hi,

    Good to know it works. Let us know if you encounter any further problems.

    in reply to: Slow debug output #21035
    support
    Keymaster

    Hi,

    No problem, we can help you nail it down. First of all, what exact timings do you mean and how do you measure them?

    Second of all, could you confirm that the WriteToFastSemihostingChannel() function is invoked when you call printf()? If yes, does calling it explicitly instead of printf() also result in slow operation?

    Finally, do you get the same behavior if you throttle the printf() output (e.g. sleep for 100 msec between each call)? If not, the fast semihosting buffer might be overflowing and delaying the CPU until VisualGDB reads its contents. If this is the case, please ensure you are not using USB virtualization as it significantly reduces the semihosting performance.

    in reply to: cannot access ssh directory #21034
    support
    Keymaster

    Hi,

    You might be able to ignore the xauth error (unless you are relying on X11 connection forwarding). The ‘file not found’ issue could be tricker. It would mean that the OpenSSH server confirms the file upload, but doesn’t actually upload anything under /tmp.

    Please double-check that /tmp exists and is writable from the current user account. As a shortcut, you could also install gdbserver via ‘sudo apt-get install gdbserver’.

    in reply to: cannot access ssh directory #21031
    support
    Keymaster

    Hi,

    It looks like VisualGDB is having trouble configuring the remote system to accept your public key.

    Normally VisualGDB would open a new session, run the ‘pwd’ command immediately to find out the home directory, append “/.ssh” to it and run the following command:

    test -d <SSH directory> || mkdir -m 700 <SSH directory>

    If the command fails, VisualGDB would display that it cannot access the SSH directory.

    You can work around this by simply unchecking the “setup private key-based authentication” checkbox in the SSH setup window or by double-checking the target directory structure and ensuring that the account you are using with SSH has the <home>/.ssh directory.

    in reply to: Is there a support for C ++ 17 in VisualGDB? #21027
    support
    Keymaster

    Hi,

    Thanks for the update. We will make it default for new projects in the upcoming Preview 4.

    in reply to: How to use your own cloned ESP-IDF #21026
    support
    Keymaster

    Hi,

    Sorry, not sure what you meant. Could you please share an error log showing what exactly is broken?

Viewing 15 posts - 4,261 through 4,275 (of 7,876 total)