Using clang intellisense breaks mouse over for debugging with this->

Sysprogs forums Forums VisualGDB Using clang intellisense breaks mouse over for debugging with this->

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28364
    SchodMC
    Participant

    I have a problem with the clang intellisense and the mouseover during debugging. When I understand it correct, switching to the clang intellisense, VisualGDB uses some kind of own editor. Or at least it seems like that. However, when debugging and I put the cursor over a variable with this-> before (e. G. this->errorFlag), nothing happens. If I select errorFlag an press shift+f9 to open the QuickWatch window, the Expression field holds “>errorFlag”. When I remove the “->” or add “this” at the begin, it works in that QuickWatch expression. Also mouseover this works. Is there something I need to configure?

    #28366
    support
    Keymaster

    Hi,

    Thanks for letting us know. This should normally work out-of-the-box, so it’s likely caused by interference from another plugin.

    Please try disabling all other extensions via Extensions->Manage Extensions (or Tools->Extension Manager). If it doesn’t help, please check if the problem persists on a basic MinGW project created from scratch. If not, please try determining if there is any specific component (e.g. a specific toolchain or a specific global variable syntax) that is causing the trouble.

    You can also check for suspicious output in View->Other Windows->VisualGDB Diagnostics Console. It may explain what is going on.

    #28367
    SchodMC
    Participant

    I have only the following Extensions installed:

    • Test Adapter for Google Test
    • Visual Studio IntellliCode (disabled)
    • Live Share
    • VisualGDB
    • SourceGear Vault
    • Test Adapter for Boost.Test

    Beside Vault and VisualGDB all are default from VisualStudio. I disabled at least Visual Studio IntelliCode, but that doesn’t change anything.

    I also made a mingw test project and enabled “Advanced Clang IntelliSense” in the Visual GDB Project Settings, same problem. Maybe you can reproduce it (I added the CPP file to the post). I set a breakpoint at line 15, run the code and when the app stops at that line, I put the mouse over “showIt”, and nothing happens. And as described above, it’s the same problem when pressing shift+f9 – QuickWatch trys to evaluate “->showIt”. Move with the mouse over this, unfold it and search for “showIt” works, but is not that comfortable (especially with complex classes).

     

    P.S.: Using the default IntelliSense works, too. But the one VisualGDB offers is much better, so I want to use that.

    Attachments:
    You must be logged in to view attached files.
    #28369
    support
    Keymaster

    Thanks for the detailed repro example. We have reproduced the problem and fixed it in the following build: VisualGDB-5.5.7.3678.msi

    #28370
    SchodMC
    Participant

    Wow, I`m impressed. That was fast!!! I tried it out and it works like a charm. Thank you very much!!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.