Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
AnswerRe: debug console application Pin
Dave Kreskowiak5-Sep-12 7:32
mveDave Kreskowiak5-Sep-12 7:32 
If the two applications are in two seperate solutions, you would need to have two copies of Visual Studio open. One to run your second project that is launching the first. You can set breakpoints in that and monitor the execution of that code.

The second one would need the debugger attached to the instance of your first console application, but can only be done AFTER it was launched. Why? Because Visual Studio is not lauching the application and therefor has no idea its even running.

I would suggest you forget doing dual-debugging for now since you don't appear to have the skill set to handle this.

Normally, you would debug the console app your code is launching seperately, using test command line parameters so you can test every little corner of your app. These command line parameters are easily supplied in the Project Properties, Debug tab of your project.

GeneralRe: debug console application Pin
dcof5-Sep-12 8:02
dcof5-Sep-12 8:02 
GeneralRe: debug console application Pin
Dave Kreskowiak5-Sep-12 12:35
mveDave Kreskowiak5-Sep-12 12:35 
QuestionC# execute console application Pin
dcof5-Sep-12 5:39
dcof5-Sep-12 5:39 
AnswerRe: C# execute console application Pin
Eddy Vluggen5-Sep-12 5:54
professionalEddy Vluggen5-Sep-12 5:54 
AnswerRe: C# execute console application Pin
glennPattonWork35-Sep-12 5:59
professionalglennPattonWork35-Sep-12 5:59 
GeneralRe: C# execute console application Pin
Shameel5-Sep-12 6:27
professionalShameel5-Sep-12 6:27 
GeneralRe: C# execute console application Pin
glennPattonWork35-Sep-12 22:07
professionalglennPattonWork35-Sep-12 22:07 
AnswerRe: C# execute console application Pin
PIEBALDconsult5-Sep-12 6:06
mvePIEBALDconsult5-Sep-12 6:06 
GeneralRe: C# execute console application Pin
dcof5-Sep-12 7:52
dcof5-Sep-12 7:52 
GeneralRe: C# execute console application Pin
PIEBALDconsult5-Sep-12 8:20
mvePIEBALDconsult5-Sep-12 8:20 
AnswerRe: C# execute console application Pin
jschell5-Sep-12 11:38
jschell5-Sep-12 11:38 
QuestionSerial Port security? Pin
glennPattonWork35-Sep-12 5:34
professionalglennPattonWork35-Sep-12 5:34 
SuggestionRe: Serial Port security? Pin
Eddy Vluggen5-Sep-12 5:57
professionalEddy Vluggen5-Sep-12 5:57 
GeneralRe: Serial Port security? Pin
glennPattonWork35-Sep-12 6:03
professionalglennPattonWork35-Sep-12 6:03 
Questionextract form Pin
farhad34505-Sep-12 3:28
farhad34505-Sep-12 3:28 
AnswerRe: extract form Pin
Ravi Bhavnani5-Sep-12 3:36
professionalRavi Bhavnani5-Sep-12 3:36 
AnswerRe: extract form Pin
Ingo5-Sep-12 3:49
Ingo5-Sep-12 3:49 
AnswerRe: extract form Pin
Abhinav S5-Sep-12 4:00
Abhinav S5-Sep-12 4:00 
QuestionAddAccessRule to Directory for Usergroups of another Domain Pin
Ingo5-Sep-12 2:25
Ingo5-Sep-12 2:25 
QuestionProperty grid problem Pin
Soni_moni5-Sep-12 2:02
Soni_moni5-Sep-12 2:02 
QuestionRe: Property grid problem Pin
Eddy Vluggen5-Sep-12 5:33
professionalEddy Vluggen5-Sep-12 5:33 
QuestionHelp about SocketAsyncEventArgs Pin
wanli_gao4-Sep-12 22:28
wanli_gao4-Sep-12 22:28 
AnswerRe: Help about SocketAsyncEventArgs Pin
Richard MacCutchan4-Sep-12 23:56
mveRichard MacCutchan4-Sep-12 23:56 
AnswerRe: Help about SocketAsyncEventArgs Pin
Pete O'Hanlon5-Sep-12 1:16
mvePete O'Hanlon5-Sep-12 1:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.