vshashi01

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: When File name is changed, debugging no longer works #27919
    vshashi01
    Participant

    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..

    in reply to: Error when saving cpp file #27910
    vshashi01
    Participant

    Re up0loading clang-format file as a txt file.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Error when saving cpp file #27908
    vshashi01
    Participant

    Yes 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.
    in reply to: Error when saving cpp file #27900
    vshashi01
    Participant

    Hi 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.

    in reply to: Error when saving cpp file #27894
    vshashi01
    Participant

    Hi,

    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) Unknown

     

    Looks 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.

     

    in reply to: Missing Board Support Package Error #27316
    vshashi01
    Participant

    I 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.

Viewing 6 posts - 1 through 6 (of 6 total)