Groups > Microsoft > WinDbg > Re: unable to do source debugging with DLL..........




unable to do source debugging with DLL..........

unable to do source debugging with DLL..........
Fri, 4 Apr 2008 22:18:24 -0700
I wrote a COM(as a.dll), when i open the source code of COM, I'm not
able to set a breakpoint in it.

Why? Thanks for any help.
=================
here is my setting: [TestATL is the test program, Simple ATL is the
DLL]

Symbol file:
==============
SRV*C:\windows\symbols*http://msdl.microsoft.com/download/symbols;E:
\TestProject\VC6\TestATL\Debug

Srouce file:
==========
E:\TestProject\VC6\TestATL; E:\TestProject\VC6\Simple ATL

Image file:
============
E:\TestProject\VC6\TestCPP\Debug\TestCPP.exe;E:\TestProject\VC6\Simple
ATL\Debug\Simple ATL.dll;E:\TestProject\VC6\Simple ATL\Debug;E:
Post Reply
Re: unable to do source debugging with DLL..........
Mon, 7 Apr 2008 12:21:19 +0200
I can suggest the following:

1. Make sure that your dll get's loaded into address space of the test 
executable.
2. Make sure that you use debug version of build

-- 
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"sender" <lostlander.tom@gmail.com> wrote in message 
news:b2c25c49-d47b-4a1c-856b-d350566758ab@c19g2000prf.googlegroups.com...
>I wrote a COM(as a.dll), when i open the source code of COM, I'm not
> able to set a breakpoint in it.
>
> Why? Thanks for any help.
> =================
> here is my setting: [TestATL is the test program, Simple ATL is the
> DLL]
>
> Symbol file:
> ==============
> SRV*C:\windows\symbols*http://msdl.microsoft.com/download/symbols;E:
> \TestProject\VC6\TestATL\Debug
>
> Srouce file:
> ==========
> E:\TestProject\VC6\TestATL; E:\TestProject\VC6\Simple ATL
>
> Image file:
> ============
> E:\TestProject\VC6\TestCPP\Debug\TestCPP.exe;E:\TestProject\VC6\Simple
> ATL\Debug\Simple ATL.dll;E:\TestProject\VC6\Simple ATL\Debug;E:
> \TestProject\VC6\TestATL\Debug 

Post Reply
about | contact