Debugging: Attach to Process for Console App running inside cmd.exe

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-03T21:09:20Z Indexed on 2010/05/03 21:18 UTC
Read the original article Hit count: 677

Filed under:
|
|

How do you "Attach to Process..." for a console application thats running from a CMD window and not launched by F5? The reason I ask is because the application takes command line arguments and I want to have a genuine experience.

I've even attaching to CMD.exe, but no luck, or setting a break-point using Console.ReadKey() with also no luck. I'm kind of at a loss here.

Is this possible?

© Stack Overflow or respective owner

Related posts about debug

Related posts about console-application