tomasr / viasfora

A Visual Studio Extension containing miscellaneous improvements to the editor.
Other
557 stars 91 forks source link

Do not work when using VisualGDB #255

Closed Kochise closed 5 years ago

Kochise commented 6 years ago

Hi, using Visual Studio 2017 Pro (15.8.0) and VisualGDB with several projects inside the solution, some targeting MCU development, other emulation through a Windows layer. When opening the files through the Windows based projects, it doesn't works, well sometimes it does. Mostly while Visual Studio is loading, it looks like the plugin works, then it reverts to standard color scheme, the plugin disabled. Is there a way to force the plugin to work ?

tomasr commented 6 years ago

I'd be happy to look into this.

Could you enable the activity log (devenv /log) and when it stops working, collect the activityLog.xml and send it to me over email? I can take a look and see if there are any errors reported.

Additional info on the activity log here.

Other than that, could you maybe give me more specific repro steps? What exact extensions or add-ins do I need to match your setup so that I can try to repro this here?

Kochise commented 6 years ago

Here we go... Visual Studio 2017 15.8.1, VisualGDB 5.4 preview4 http://sysprogs.com/files/tmp/VisualGDB-5.4.4.2400.msi and of course, viasfora :)

do not work when using visualgdb

15.0_31f3c8b9.zip

tomasr commented 6 years ago

That gif was extremely useful. What appears to be going on is that VisualGDB is changing the content type of the buffer to one Viasfora doesn't recognize (C/C++ (VisualGDB)).

I've added it to the code, so hopefully this fixes the issue. Can you grab the latest dev build from here and see if that fixes the issue for you?

Kochise commented 6 years ago

That did it, you genius !

Kochise commented 6 years ago

https://sysprogs.com/w/forums/topic/visual-studios-extensions-not-started/