studio 12 - too fast for me

o select debug executable

o click debug

o i have a stop in main - it stops

o click continue - program runs to completion

o my output starts showing in "Process I/O"

but, whew - before i can read it, the output is cleared

the i/o tab is still selected, but the panel is empty

actually this may be true for all the debug panels

any way to get my output back?

[411 byte] By [autohanda] at [2007-11-27 6:29:54]
# 1

probably this is only true if everything is on standard error and there is no output. when i ran the program the first time - i didn't provide any arguments - it printed an error message and quit. when i provided correct arguments - it terminated in the way i expected - and the process i/o sayed on the screen.

autohanda at 2007-7-12 17:54:10 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

When the program exits the debugger session finishes.

When the debugger session finishes all it's windows get cleaned up.

Not a good ide for I/O ... it should linger.

Will address this in time.

Meanwhile you can stop your program before it goes away as

follows and then finish the session explicitly.

Choose Run->NewBreakpoint

Choose BreakpointType: Process

Choose Event: Last Rites

Or from the dbx command line issue

stop lastrites

This bpt will be permenent for all sessions.

LastRites is a "union" of exit/terminating-signal/killed from debugger etc.

IvanIgorovicha at 2007-7-12 17:54:10 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
great - will do - thanks for taking time to respond and let me know.
autohanda at 2007-7-12 17:54:10 > top of Java-index,Development Tools,Solaris and Linux Development Tools...