Forum Replies Created
-
AuthorPosts
-
vshashi01Participant
Hi, i am sorry if it was not clear earlier, i did rebuild my project with all the includes succeeded to create a build. However, when I use the debugger, i can never step into any code that is inside the recently name changed file. And yes I have tried a clean building as well, still it doesnt work.
These files are source files that is in a static library project which i compile with another embedded library project.
The only way i have gotten to make it work is by recreating a new project and reimporting all the files again..
vshashi01ParticipantRe up0loading clang-format file as a txt file.
Attachments:
You must be logged in to view attached files.vshashi01ParticipantYes the error message is exactly same as the one before. Indeed there is not unusual exception in the Output window and the Call Stack is completely empty when I select the Main thread as shown below.
I tried toggling both the Intellisense and the Code Formatting setting one by one. Indeed changing the Intellisense fixes the problem as well and so do changing the Code Formatting to use the Legacy Formatting. So indeed Clang Formatting is the one causing this issue. Could it be possibly caused by changed to the Clang formatting document? I have added my clang-format document for good measure.
Attachments:
You must be logged in to view attached files.vshashi01ParticipantHi again,
I disabled the plugin and tried to format my code manually by calling the Format Document tool and still see the same error. So no I dont think the problem is in the plugin. When I try to debug the problem now, it just shows that no external code is running only native platform code is running.
Is there any other way I can still find out whats going wrong?
Thank you.
vshashi01ParticipantHi,
Actually the problem is happening for specific files in the same project even. I have one project with multiple .cpp and .h files. Non of the header files seems to have the problem, only specific .cpp files seems to have the problem.
The Stack Trace
[Managed to Native Transition]
> Elders.VSE_FormatDocumentOnSave.dll!Elders.VSE_FormatDocumentOnSave.VisualStudioCommandFormatter.Format(EnvDTE.Document document, Elders.VSE_FormatDocumentOnSave.IDocumentFilter filter, string command) Unknown
Elders.VSE_FormatDocumentOnSave.dll!Elders.VSE_FormatDocumentOnSave.DocumentFormatService.FormatDocument(EnvDTE.Document doc) Unknown
Elders.VSE_FormatDocumentOnSave.dll!Elders.VSE_FormatDocumentOnSave.FormatDocumentOnBeforeSave.OnBeforeSave(uint docCookie) UnknownLooks like the problem is on the Formatter.
VisualGDB version 5.3 (Preview 3, Build 3458)
I will continue investigating whats the difference between the different .cpp files.
Thank you.
vshashi01ParticipantI managed to fix the issue by creating a new project, during the new project creation, selecting the stm32 board updated the BSPs to the latest BSPs.
-
AuthorPosts