Forum Replies Created
-
AuthorPosts
-
support
KeymasterThe ARM simulator built into gdb is indeed very basic and does not simulate most of the modern devices like STM32. VisualGDB shows it in the debug method list for backward compatibility with older devices where CPU-only simulation would make sense. For STM32 devices we recommend using one of the ST’s development boards with ST-Link.
support
KeymasterOK, we have updated VisualGDB to automatically remove the temporary files from the previous ESP-IDF versions when changing the toolchain or the IDF checkout.
Please try this build: VisualGDB-5.4.105.3154.msi
support
KeymasterSorry, we are not the vendor for SimplicityStudio. For generic SimplicityStudio questions, please contact Silabs. If you need help with one of the Sysprogs products, please let us know and we will be happy to help you.
May 20, 2019 at 18:28 in reply to: Clang IntelliSense The selected location does not refer to a C/C++ entity #24996support
KeymasterPlease double-check that your source file includes the necessary header files.
Plain C supports calling functions without declaring them first. This creates an implicit declaration based on the arguments provided, however as it is not explicitly linked to the actual function, the Clang IntelliSense won’t be able to find it.
support
KeymasterHi,
Good to know it works. BTW, although VisualGDB does not directly support the Keil’s event recorder mechanism, it provides a similar mechanism for tracking various events – real-time watch. Feel free to follow this tutorial to try it out.
support
KeymasterThanks for the suggestion. We can indeed cache the toolchain/IDF version used during the last build and force a full rebuild when it doesn’t match anymore. We will investigate this and get back to you around the middle of the next week.
support
KeymasterHi,
In order to reduce the size of the projects, VisualGDB does not copy all of the shared files (e.g. Nordic SDK) to each project. Instead, it stores them in a shared location (typically under %LOCALAPPDATA%\VisualGDB\EmbeddedBSPs) and references them from the projects. Each time you open such a project, VisualGDB would check if the referenced BSP is available. If not, it would show a dialog allowing you to download it.
Furthermore, as different versions of BSPs are not always compatible, VisualGDB remembers the exact BSP version referenced by the project and shows a warning you described when another BSP version is installed.
You can eliminate the messages when opening the projects in one of 2 ways:
- If you are OK using the same BSP version for all of the projects, please simply click the “Use version XXX” button. This will update the version number stored in the project file, so next time you open it, the message won’t be shown (unless you switch the BSP version again). This will need to be done for each project referencing this BSP. We can also add a setting for automatically upgrading the BSP version, however it may cause weird problems as the BSPs are not always 100% compatible.
- Alternatively, you can install multiple versions of the same BSP (requires the Custom edition or higher). Simply use the checkbox under Tools->VisualGDB->Manage VisualGDB Packages->Installed->BSPs ->Nordic to enable the multi-version mode. Then VisualGDB will keep multiple versions of the same BSP, letting you have multiple projects using different BSP versions. In this mode, clicking “Download” in the window shown when opening a project will download the exact version of the BSP referenced by the project without replacing the previous version you had installed.
We are not sure what you meant with the Microsoft-style include directories. Normally you can set them under VS project properties (MSBuild projects) or VisualGDB project properties. If this is not what you are looking for, please describe what you are looking for using the first 2 steps of the 3-step format described here: http://visualgdb.com/support/reporting/#3step
support
KeymasterNo problem, we have contacted Whole Tomato with the case details and will update you once we get the tools integrated.
support
KeymasterPlease ensure that the parameter names after @param are not wrapped with any ‘<>’, e.g.:
@param setting
support
KeymasterSorry, ESP-IDF is not very backward-compatible. Unfortunately, it isn’t something controlled by us – it’s a design choice by Espressif to introduce new features faster at a cost of backward compatibility. Our best advice for porting the project would be to create a new one with the latest IDF/toolchain and then move your code one file at a time, resolving the build issues.
We can help you find the COM port setting if you could post screenshots of the project properties and debug properties page of VisualGDB Project Properties.
support
KeymasterPlease try attaching another instance of Visual Studio to the one causing memory leaks (ensure you have the ‘auto’ selection for debugging engines). Then select Debug->Windows->Show Diagnostic Tools and switch to Memory View. Start your work session and do the regular work tasks for about 5 minutes. Then click the “Take snapshot” button in the Memory view of the Diagnostic tools and work for another 10 minutes. Then click “Take snapshot again” and wait for the updated line to appear.
Finally click on the difference between the memory snapshots (see the attached file) and share a screenshot of the snapshot window that will open up. It will list the exact memory differences between the 2 snapshots, showing what has consumed the memory.
Attachments:
You must be logged in to view attached files.support
KeymasterHi,
It looks like the ‘*’ frame around the comment is interfering with the comment parsing logic.
Please ensure that the line containing the ‘@param’ comment does not have any other characters (other then spaces) in front of the @param part and VisualGDB will handle it correctly.
May 11, 2019 at 03:04 in reply to: Long include lists cause "CreateProcess: No such file or directory" error #24962support
KeymasterGood to know it works. BTW, you can also force VisualGDB to clear the BSP-related caches and reload all package definitions by opening and closing the Tools->VisualGDB->Manage VisualGDB Packages window.
support
KeymasterThanks for reporting this. It turns out, VisualGDB incorrectly substituted VisualGDB-level variables that are not available on the MSBuild level.
Please try using the relative path (from the .vcxproj file’s directory) instead.
You can also try this VisualGDB build that will not substitute unsupported variables when editing settings via VisualGDB Project Properties: VisualGDB-5.4.105.3146.msi
May 10, 2019 at 16:53 in reply to: Long include lists cause "CreateProcess: No such file or directory" error #24959support
KeymasterStrange. Have you tried regenerating those files via the first page of VisualGDB Project Properties after moving the BSP and restarting VS? If this didn’t help, could you please try creating a new project based on the BSP and then share a file that was generated using the incorrect paths? This should help us narrow the issue down and release a hotfix ASAP.
-
AuthorPosts