Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
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.
support
KeymasterHi,
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.
support
KeymasterHi,
No problem. Let us know if you encounter any further issues and we will be happy to help.
support
KeymasterHi,
According to our records, your 30-day trial has expired. In order to keep receiving technical support, please purchase a license.
support
KeymasterHi,
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.
support
KeymasterHi,
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.
June 4, 2018 at 20:09 in reply to: Hover popup (tooltip) over function causes VS2017 task hang #21053support
KeymasterHi,
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.
support
KeymasterHi,
Please let us know the email associated with your license key so that we could verify your support status.
June 4, 2018 at 19:44 in reply to: Possible to not use clang-intellisense in Advanced CMake projects? #21051support
KeymasterHi,
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.
support
KeymasterHi,
Good to know it works. Let us know if you encounter any further problems.
support
KeymasterHi,
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.
support
KeymasterHi,
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’.
support
KeymasterHi,
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.
support
KeymasterHi,
Thanks for the update. We will make it default for new projects in the upcoming Preview 4.
support
KeymasterHi,
Sorry, not sure what you meant. Could you please share an error log showing what exactly is broken?
-
AuthorPosts