dlang / visuald

Visual D - Visual Studio extension for the D programming language
http://rainers.github.io/visuald/visuald/StartPage.html
Boost Software License 1.0
288 stars 70 forks source link

Visual D crashes when using Visual Studio 2008 #266

Open luxploit opened 8 months ago

luxploit commented 8 months ago

Wanted to try out Visual D in VS2008 (my main IDE). I installed, created a Windows Application and then when i went into winmain.d the text was sort of corrupted and it crashed right after. For sanity's sake I even tried it in a VM with a clean install of Vs2008 without any extras or Visual Assist. Any clue why this is happening?

Host Version: 1.4.0-beta2 VM Version: 1.3.1

image

rainers commented 8 months ago

AFAICT VS2008 hasn't been tested in a while. Are you running on Win7 or earlier, too? 32 or 64 bit OS?

Maybe some (background) colors are not working, you might be able to tweak them in Tools->Options->Environment->Fonts and Colors, names "Visual D - ...".

Regarding crashes: do you have a crash dump? Might be written to %LocalAppData%\CrashDumps.

luxploit commented 8 months ago

I'm running Windows 11 22H2 and my VM was running Windows 10 2004, both 64-bit. I'll upload the crash dumps later today if it generated any. I tried VS2010 and 2013 and those work perfectly on both host and VM, so it's specifically only 2008 that's crashing

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Rainer Schuetze @.> Sent: Wednesday, January 3, 2024 9:55:41 AM To: dlang/visuald @.> Cc: Laura @.>; Author @.> Subject: Re: [dlang/visuald] Visual D crashes when using Visual Studio 2008 (Issue #266)

AFAICT VS2008 hasn't been tested in a while. Are you running on Win7 or earlier, too? 32 or 64 bit OS?

Maybe some (background) colors are not working, you might be able to tweak them in Tools->Options->Environment->Fonts and Colors, names "Visual D - ...".

Regarding crashes: do you have a crash dump? Might be written to %LocalAppData%\CrashDumps.

— Reply to this email directly, view it on GitHubhttps://github.com/dlang/visuald/issues/266#issuecomment-1875028871, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A26RHEW4PNHGRUXKW55K4PLYMUMI3AVCNFSM6AAAAABBKSRP56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGAZDQOBXGE. You are receiving this because you authored the thread.Message ID: @.***>

luxploit commented 8 months ago

devenv.exe.46640.dmp this is the crash dump that was written by VS at %LocalAppData%\CrashDumps

rainers commented 8 months ago

The crash dump shows a heap corruption while populating the navigation bar at the top of the editor. Maybe it helps to just disable that in Tools->Options->Text Editor->D->General before loading any D source file.