News

Re: WinDbg and C# application

microsoft.public.windbg - Fri, 07/04/2008 - 17:53
You have to use special breakpoint commands for managed code. Sos includes a
!bpmd command, but it's rather limited. If you add sosex.dll as well, you'll
be a little better off, but for this type of debugging Visual Studio gives
you a lot more. John Robbins wrote a post regarding sosex.dll and
breakpoints which you can find here:
Categories: WinDbg

Microsoft Source Server and ClearCase

microsoft.public.windbg - Fri, 07/04/2008 - 12:09
Has anybody tried to get the source server working with clearcase
dynamic views?
Any advice is well come.
Cheers,
Volker
Categories: WinDbg

Re: WinDbg and C# application

microsoft.public.windbg - Fri, 07/04/2008 - 11:50
Thanks Brian!
I have using .load to load the SOS package. And I have tried I can use
extension commands like !threads.
But when I use bu or bm to set a breakpoint, for example, bu Foo (Foo is a
function in class FooUtility), there is error message like -- "Operation not
supported by integrated managed debugging.". How to solve it?
Categories: WinDbg

Re: WinDbg and C# application

microsoft.public.windbg - Fri, 07/04/2008 - 11:28
You need to load sos.dll to make WinDbg work with managed code. John Robbins
wrote an introduction you may find helpful:
[link]
Regards,
Brian Rasmussen [C# MVP]
Categories: WinDbg

Re: Frequent unwanted debugger breakins in kernel mode

microsoft.public.windbg - Fri, 07/04/2008 - 10:51
We got rid of these breakins by stopping using remote debugger
connections.
Categories: WinDbg

WinDbg and C# application

microsoft.public.windbg - Fri, 07/04/2008 - 10:48
Hello everyone,
When I use bu or bm to set a breakpoint into a process running C#, there is
always error message like -- "Operation not supported by integrated managed
debugging."
How to make WinDbg support .Net application debug?
(I made a search to find some similar questions, but not quite helpful.)
Categories: WinDbg

中文的可以发吗

microsoft.public.windbg - Fri, 07/04/2008 - 06:53
我是用IA-32的.
6.9版的dt *不能用了.
Categories: WinDbg

.Net Managed code breakpoint

microsoft.public.windbg - Wed, 07/02/2008 - 21:00
I have an asp.net (.net 2.0) app that has multiple app domains. I can
set breakpoints when i know the exact name of the dll, object,method
using !bpmd but what about when i don't know the name exactly? In
unmaged code i can simply use the 'x' command to view the symbols and
set the breaks such as
x ole32*!*
Categories: WinDbg

Re: Big Brains on this BSOD from disk.sys please!

microsoft.public.windbg - Wed, 07/02/2008 - 20:58
"Julian" wrote that THREE MONTHS AGO and hasn't been back since.
Start a new thread rather than reply to a dead one.
Categories: WinDbg

Re: Big Brains on this BSOD from disk.sys please!

microsoft.public.windbg - Wed, 07/02/2008 - 20:57
"Julian" <msfor...@tiger2.notthisbit.de mon.co.uk> wrote in
[...]
Do you still have this issue, Julian? A 'me too' here - same symptoms,
different system.
Did you ever get it resolved?
Sander
Categories: WinDbg

Cannot pull symbols for SQL 2005

microsoft.public.windbg - Wed, 07/02/2008 - 18:17
I am trying to debug a SQL 2005 dump file - I have the correct public
symbol path (it gets the kernel symbols, etc.) but for some reason it
cannot find the SQL symbols - what am I doing wrong here?
0:075> !sym noisy
noisy mode - symbol prompts on
0:075> .reload
..
DBGHELP: c:\symbols\ntdll.dll\45D70AD8c 0000\ntdll.dll - OK
Categories: WinDbg

Re: print input parameter values

microsoft.public.windbg - Wed, 07/02/2008 - 17:09
On x64, in code compiled without register homing.
On x86, in any sufficiently complex and optimized code.
On ia64 retail bits, it almost always never work.
If you debug checked un-optimized code on x86, then
you are in the best case scenario.
Categories: WinDbg

Re: display symbol at some address

microsoft.public.windbg - Wed, 07/02/2008 - 17:07
`!address <0x12345678>`
is your best friend.
If `!address` tells you that you are in a module,
then, try to use `ln <address>`.
Give the example you posted in the past, you have a stack overrun,
and, you are executing from the stack, that for machines with
the NX policy enabled, it going to trigger an access violation.
Categories: WinDbg

Re: how to stop windbg using the MS symbol server?

microsoft.public.windbg - Wed, 07/02/2008 - 13:28
Hey, thanks, thats great!
Categories: WinDbg

Re: print input parameter values

microsoft.public.windbg - Wed, 07/02/2008 - 12:14
Thanks Ivan,
Great reply! A further question, when dv command will not work in your
experience? In my current debugging, it works fine.
regards,
George
Categories: WinDbg

Re: display symbol at some address

microsoft.public.windbg - Wed, 07/02/2008 - 12:12
Thanks Ivan,
What I am trying to do is to solve a sort of specific issues, when there is
OS error box which indicates my application is broken at some address (e.g.
0x12345678), because of unhandled exception or something corruption (e.g.
stack or access violation). I want to find out what actually resides in
Categories: WinDbg

Re: Windbg as JIT debugger versus Vista UAC

microsoft.public.windbg - Tue, 07/01/2008 - 22:46
Resolved. I located a shortcut for windbg that had 'Run this program as
an administrator' set on the compatibility tab. Once this was no longer
set windbg behaved as expected.
cheers
Gerard.
Categories: WinDbg

Re: WinDbg under Vista: Access is Denied Errors

microsoft.public.windbg - Tue, 07/01/2008 - 21:03
Not sure what you're referring to by a "desktop integrity check". Do you have
any references I can use to do some self education in this area ?
For refrence, I'm running Vista Home Premium on a Gateway laptop. Its my own
personal machine, not some corporate box .... ie. there's no "support"-ware
locking it down.
Categories: WinDbg

Re: display symbol at some address

microsoft.public.windbg - Tue, 07/01/2008 - 20:51
Correct, there is no way. It depends entirely on the context and on the
interpretation that is being given.
Categories: WinDbg

Re: WinDbg under Vista: Access is Denied Errors

microsoft.public.windbg - Tue, 07/01/2008 - 20:33
Maybe some desktop integrity check kicks-in, and, you can use
only a command-line debugger.
In that case, you can always set-up a remote, and connect to
ntsd with windbg via a localhost connection
Categories: WinDbg
Syndicate content