Ivan, I did exactly what it said in this article
http://msdn.microsoft.com/msdnmag/is...r/default.aspx
and it resulted in an error. The output was this:
Symbol search path is: C:\Documents and Settings\TheMagicBonj\My
Documents\Installers\DebuggingTools\bugslayer0306\ bin\Debug
Microsoft (R) Windows Debugger Version 6.3.0017.0
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: "C:\Documents and Settings\TheMagicBonj\My
Documents\Installers\DebuggingTools\bugslayer0306\ bin\Debug\ExceptApp.exe"
Symbol search path is: C:\Documents and Settings\TheMagicBonj\My
Documents\Installers\DebuggingTools\bugslayer0306\ bin\Debug
Executable search path is:
ModLoad: 00400000 00408000 ExceptApp.exe
ModLoad: 7c900000 7c9b0000 ntdll.dll
ModLoad: 78800000 7883a000 C:\WINDOWS\system32\mscoree.dll
ModLoad: 7c800000 7c8f4000 C:\WINDOWS\system32\KERNEL32.dll
ModLoad: 77dd0000 77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
ModLoad: 77e70000 77f01000 C:\WINDOWS\system32\RPCRT4.dll
(d30.694): Break instruction exception - code 80000003 (first chance)
eax=00241eb4 ebx=7ffdc000 ecx=00000007 edx=00000080 esi=00241f48
edi=00241eb4
eip=7c901230 esp=0012fb20 ebp=0012fc94 iopl=0 nv up ei pl nz na pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000202
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
ntdll.dll -
ntdll!DbgBreakPoint:
7c901230 cc int 3
0:000> g
ModLoad: 77f60000 77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 77c10000 77c68000 C:\WINDOWS\system32\msvcrt.dll
ModLoad: 77f10000 77f56000 C:\WINDOWS\system32\GDI32.dll
ModLoad: 77d40000 77dd0000 C:\WINDOWS\system32\USER32.dll
ModLoad: 791b0000 793e2000
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\mscor wks.dll
ModLoad: 7c000000 7c054000
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\MSVCR 70.dll
ModLoad: 79040000 79079000
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\fusio n.dll
ModLoad: 7c9c0000 7d1d4000 C:\WINDOWS\system32\SHELL32.dll
ModLoad: 773d0000 774d2000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
ModLoad: 5d090000 5d127000 C:\WINDOWS\system32\comctl32.dll
ModLoad: 79780000 7996c000
c:\windows\microsoft.net\framework\v1.0.3705\mscor lib.dll
ModLoad: 79970000 79c98000
c:\windows\assembly\nativeimages1_v1.0.3705\mscorl ib\1.0.3300.0__b77a5c561934e089_d3f49f0e\mscorlib. dll
ModLoad: 79510000 79521000
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\mscor sn.dll
ModLoad: 79430000 7947a000
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\MSCOR JIT.DLL
ModLoad: 51820000 5188b000
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\diasy mreader.dll
ModLoad: 774e0000 7761c000 C:\WINDOWS\system32\ole32.dll
(d30.694): CLR exception - code e0434f4d (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=0012f4fc ebx=00aae168 ecx=0014d648 edx=00002aba esi=00000000
edi=00000000
eip=7c81eb33 esp=0012f4f8 ebp=0012f54c iopl=0 nv up ei pl zr na po
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\system32\KERNEL32.dll -
KERNEL32!RaiseException+0x52:
7c81eb33 5e pop esi
0:000> .load sos
0:000> !threads
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\mscor wks.dll -
PDB symbol for mscorwks.dll not loaded
failed to load from resource.Failed to load SOS data.
No valid SOS data table found.
"Ivan Brugiolo [MSFT]" <iv******@online.microsoft.com> wrote in message
news:uJ**************@TK2MSFTNGP14.phx.gbl...
Doesn't it not come already with the debugger package or with the
framework
itself ?
D:\Program Files\Debugging Tools for Windows\clr10\sos.dll
D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\sos.d ll
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Bonj" <Bo**@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com... Is it possible to download this SOS thing?
"Ronald Laeremans [MSFT]" wrote:
> You can use windbg and SOS (Son Of Strike) together. Google the MSDN site > for instructions.
>
> Ronald Laeremans
> Visual C++ team
>
> "Bonj" <benjtaylor at hotpop d0t com> wrote in message
> news:OX**************@TK2MSFTNGP15.phx.gbl...
> > is there a way, using windbg.exe and dbgclr.exe together, to debug a mixed > > DLL? (without using VS IDE)
> > i.e., to sort of make windbg "take over" when it gets to the
> > unmanaged
> > part...
> > ?
> >
> >
>
>
>