Sysprogs forums › Forums › VisualGDB › Using clang intellisense breaks mouse over for debugging with this->
- This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago by SchodMC.
-
AuthorPosts
-
June 9, 2020 at 15:38 #28364SchodMCParticipant
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?
June 9, 2020 at 16:39 #28366supportKeymasterHi,
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.
June 9, 2020 at 18:07 #28367SchodMCParticipantI 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.June 9, 2020 at 19:44 #28369supportKeymasterThanks for the detailed repro example. We have reproduced the problem and fixed it in the following build: VisualGDB-5.5.7.3678.msi
June 10, 2020 at 07:25 #28370SchodMCParticipantWow, I`m impressed. That was fast!!! I tried it out and it works like a charm. Thank you very much!!!
-
AuthorPosts
- You must be logged in to reply to this topic.