The book of inspiration

July 25, 2010

Debugger.Launch

Filed under: jsc — Tags: , — zproxy @ 10:48 am

Whenever a .NET exception is thrown (Ctrl-D + E) or a breakpoint is trippedOpCodes.Break –  asm int 3h -you may experience the following:

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

Note: Sometimes the Debug button is missing.

Note: You can skip this dialog like this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgJITDebugLaunchSetting]

REG_DWORD

0×02

No registered JIT debugger was specified.

While I do not have Visual Studio Professional installed on this machine I thought I had it covered by installing .NET 4 SDK. No dice?

It seems I have to install .NET 2 SDK to get CLR Debugger.

Guess what, I have to uninstall (takes an hour?) .NET 4 SDK now because I ran out of memory and you simply cannot extend boot partition.



Note: This is a CLR 2 debugger and may not work win CLR 4 targets.

PS. This took me almost a day to come up with. I barely remember what I was trying to debug to begin with.
Update: You can also get the Solution Configuration back and here is how:

Screen2
Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.