Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / October 2003

Tip: Looking for answers? Try searching our database.

Re-Repost: How do we define the JIT debugger in registry???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jos? Joye - 15 Oct 2003 14:03 GMT
I'm trying to define on my production machine the JIT debugger to catch a
bug that only appear there.... :-((

I googled and had a look to MSDN
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht
ml/cpconenablingjit-attachdebugging.asp).

I'm still more than confused!

Here are my settings:

HKLM\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger\DbgJITDebugLaunchSe
tting = 2
HKLM\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger\DbgManagedDebugger\
(default) = "C:\Program Files\Common Files\Microsoft
Shared\VS7Debug\vs7jit.exe" PID %d APPDOM %d EXTEXT "%s" EVTHDL %d

I suspect my setting to be false. However, I could not find any example.

When the service crashes, I have the pop-up windows asking to press cancel
for debug. However, it has no effect

Jos?
Gabriele G. Ponti - 16 Oct 2003 13:31 GMT
Jos?

What's your value for the key DbgManagedDebugger under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\ ?

   Gabriele
Jos? Joye - 16 Oct 2003 15:32 GMT
As stated in my post, setting are:

HKLM\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger\DbgJITDebugLaunchSe
tting = 2
HKLM\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger\DbgManagedDebugger\
(default) = "C:\Program Files\Common Files\Microsoft
Shared\VS7Debug\vs7jit.exe" PID %d APPDOM %d EXTEXT "%s" EVTHDL %d

Jos?
> Jos?
>
> What's your value for the key DbgManagedDebugger under
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\ ?
>
>     Gabriele
Gabriele G. Ponti - 16 Oct 2003 16:12 GMT
Jos?,

I'm talking about
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger, not
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger\(Defa
ult).

   Gabriele
Jos? Joye - 17 Oct 2003 06:16 GMT
I see!

Currently I have nothing...
What should be in and what  does this value means compared to the key having
the same name?

Jos?
> Jos?,
>
> I'm talking about
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger, not

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger\(Defa
> ult).
>
>     Gabriele
Gabriele G. Ponti - 17 Oct 2003 13:02 GMT
Jos?,

I'm not really sure what's the purpose of that, and the documentation is not
very clear about this. However I remember reading how to setup the JIT
debugger in Jason Bock's "CIL Programming: Under the Hood of .NET"
(http://www.apress.com/book/bookDisplay.html?bID=88), and then I checked a
couple of computers to see how is currently configured.

In my case I have:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"DbgJITDebugLaunchSetting"=dword:00000002
"DbgManagedDebugger"="\"D:\\Program Files\\Common Files\\Microsoft
Shared\\VS7Debug\\vs7jit.exe\" PID %d APPDOM %d EXTEXT \"%s\" EVTHDL %d"
"InstallRoot"="D:\\WINDOWS\\Microsoft.NET\\Framework\\"
"sdkInstallRootv1.1"="D:\\Program Files\\Microsoft Visual Studio .NET
2003\\SDK\\v1.1\\"
"PrevDbgJITDebugLaunchSetting"=dword:00000000
"PrevManagedDebugger"="D:\\Program Files\\Common Files\\Microsoft
Shared\\VS7Debug\\vs7jit.exe PID %d APPDOM %d EXTEXT \"%s\" EVTHDL %d"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger]
@="cordbg.exe !a 0x%x"

I hope this helps.

   Gabriele
Jos? Joye - 22 Oct 2003 18:56 GMT
Thanks a lot.

I will get back to the production machine ASAP to check it!

Jos?
> Jos?,
>
[quoted text clipped - 23 lines]
>
>     Gabriele

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.