windbg.info
Home Search
 You are here: arrow Home Forum

Search Our Site

www.windbg.info
Welcome, Guest
Please Login or Register.    Lost Password?
How do source code files help?
(1 viewing) 1 Guest
Go to bottom Favoured: 1
TOPIC: How do source code files help?
#14
Will Steele (User)
Posts: 17
User Offline

Another Computer Blog
How do source code files help? 06 Jan 2010 - 22:42 Last Edit: 06 Jan 2010 - 22:50 by Will Steele. Reason: Additional comment
I have a little console application throwing an error when trying to open a file. I am certain it's just an issue where the original handle was never closed in a previous function. To try and expose myself to more WinDbg I loaded up the 2.0 SOS dll and started hitting away at it. I actually made some progress an have a few indicators as to what the exact error is, but, would like to cross-reference it with the source code. How would I do this? These are all files I have (PDB's, .cs and .exe files) in the same project.

Edit: This could have also gone into the source sub-section, but, I didn't know if the SOS factor would make a difference.
 
  Logged IP
  The administrator has disabled public write access.
#18
Robert Kuster (Visitor)
Moderator
Posts: 39
User Offline

Gender: Male www.rkuster.com Location: Slovenia, Europe Birthday: 31 Jan 1978
Re:How do source code files help? 17 Jan 2010 - 17:54
Hi Will,

we are somewhat out of luck here, I'm afraid. By default WinDbg doesn't support debugging of managed code natively - at least not in its public releases. See explanation here: No CLR support in the latest debugger release . The only WinDbg release really supporting it was version 6.7.5.0 which was mistakenly made public. Maybe you can still find it somewhere. If so, you'll be able to see call stacks with functions names, source code information, and so on in almost the same way as you see it for C++ applications.

To keep it short: You can use WinDbg to obtain some extra information for managed applications via its SOS or SOSEX extension. But in order too turn it into a really useful debugger for manged applications stick to WinDbg version 6.7.5.0

I hope this helps, RK
 
Thinking debugging? Think www.windbg.info.
 
  Logged IP
  The administrator has disabled public write access.
Go to top
  up top of page up  
 

Copyright © 2024 WinDbg.info. All Rights Reserved.
Page generated in 0.0006 seconds.