Discussion:
Attaching 2 VS2005 Debuggers
(too old to reply)
Jack
2008-05-19 08:28:10 UTC
Permalink
Hello,
I have 2 modules. One for the exe and dll for the other.
I opened them seperately from 2 VS2005 IDE's,
I want in case the exe module's control is given to the dll, I'd like to see
one of the breakpoints of the dll get hit.
But so far, I don't see this happening. Any ideas how to say after I press
F8 in the exe, the control will be transferred to the dll's IDE?
Or there is a nicer and cleaner method?
Thanks in advance
Jack
Jack
2008-05-19 08:44:27 UTC
Permalink
By trials and errors, I can track back and forth between the 2 modules. But
breakpoints from 2 different modules doesn't work... For example, a
breakpoint is set in
function_a of the dll
but when I debug from the exe, I know function_a is going to be hit, but
nothing happens
Thanks
Jack
Scott McPhillips [MVP]
2008-05-19 12:47:03 UTC
Permalink
Post by Jack
Hello,
I have 2 modules. One for the exe and dll for the other.
I opened them seperately from 2 VS2005 IDE's,
I want in case the exe module's control is given to the dll, I'd like to
see one of the breakpoints of the dll get hit.
But so far, I don't see this happening. Any ideas how to say after I press
F8 in the exe, the control will be transferred to the dll's IDE?
Or there is a nicer and cleaner method?
Thanks in advance
Jack
You can debug and breakpoint both but you have to use just one instance of
the IDE. You may have to copy both .pdb files into the same directory to
get this working.
--
Scott McPhillips [VC++ MVP]
Continue reading on narkive:
Loading...