Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Debug An External Module

Status
Not open for further replies.

fox12

Programmer
Jan 18, 2005
62
0
0
US
I have two programs. The first program will call the second one by CALLING _spawnl(...). The two programs were developed by other developers. How can I debug the second program by starting the first in Debug mode? Please note that I don't know the inputs and outputs for the second program.

Thanks.

 
>by starting the first in Debug mode?

Is there such a mode for the application?

Do you have debug info, .pdb files, for the application?
If not you won't be able to debug it.

If yes you can let the app start and then attach Visual Studio to it:
Menu->Build->Start Debug->Attach to Process...

/Per
[sub]
www.perfnurt.se[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top