Using "Pause when execution ends" checkbox
Posted: Sun Feb 27, 2011 10:55 pm
I'm using CL 2.9.0.4684, VistaSP2 and doing a console app with a DLL project as well.
When I run it with no breakpoints, it'd be nice to pause the termination at the end so I can see what's on the console before the console window is deleted. I have to put a breakpoint at the final return at the end of the main routine to be able to see this.
Under Project Settings | Common Settings | General
there's a box "Pause when execution ends" which sounds like it should do this, but when I check it, there's no change, the execution doesn't pause at the end before the console window is deleted.
I looked in the .project file and found the line:
<General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="./Debug" Command="./$(ProjectName)" CommandArguments="0 1 0 -10 29.92 1000 15000 5 0 0 0 0 2000 0" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
which sounds like the checkbox is checked and it ought to pause.
I noticed another thread concerning pausing talking about hard-drive D: as if that has something to do with it. In my case, however, everything is on drive C:
When I run it with no breakpoints, it'd be nice to pause the termination at the end so I can see what's on the console before the console window is deleted. I have to put a breakpoint at the final return at the end of the main routine to be able to see this.
Under Project Settings | Common Settings | General
there's a box "Pause when execution ends" which sounds like it should do this, but when I check it, there's no change, the execution doesn't pause at the end before the console window is deleted.
I looked in the .project file and found the line:
<General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="./Debug" Command="./$(ProjectName)" CommandArguments="0 1 0 -10 29.92 1000 15000 5 0 0 0 0 2000 0" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
which sounds like the checkbox is checked and it ought to pause.
I noticed another thread concerning pausing talking about hard-drive D: as if that has something to do with it. In my case, however, everything is on drive C: