Can I debug a console app byt attaching a debugger to its process ?
From: Joe Abou Jaoude (anonymous_at_hotmail.com)
Date: 09/23/04
- Next message: Gianluca: "Problem with Regular Expressions in .NET"
- Previous message: Cor Ligthert: "Re: Globalization and localization for Calendar Control"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 04:08:50 -0700
hi,
I compiled a console app to be debuggable and i verified to have the
pdb file along with the .exe file.
in the main function I wrote this line in the begining
Console.ReadLine ()
so that the console application stops and wait for an input, and that
allows me to attache the debugger to the cmd.exe process successfully.
however the aplication isn't stopping at the breakpoints and i m sure
that the app is passing through the code marked by the breakpoints coz
the app is writting the correspondant messages to the console.
Am I missing something here ?
Regards.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Gianluca: "Problem with Regular Expressions in .NET"
- Previous message: Cor Ligthert: "Re: Globalization and localization for Calendar Control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|