jdi or tty problem, how to solve it?

i use tty to debug a Frame based application, i met a problem, it may be from tty, but i think it is possible from jdi itself.

after set few breakpoints, attach tty to java, i send command "cont" one by one, tty gives feedback for each command properly (vs out.print?() and err.print?()).

but problem happends:

tty doesn't give feedback for the command "cont" which makes application Frame from invisible to visible.

it sounds funny: why tty (or jdi) doesn't give feedback for all commands?

i have tried for 2 days (by modify tty) but i still can not solve the problem.

please help, my project is blocked....

thx.

[664 byte] By [soso999a] at [2007-9-29 16:49:22]
# 1
Did you set breakpoint(s) that will be hit after the cont command?If not, the debugee will continue to run until it hits a breakpoint, or untilit suspended again by jdb using (for example) the suspend command.
debugging_teama at 2007-7-15 15:18:07 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2
yes, i set breakpoints.problem is: jdi or java doesn't give feedback (or event) when application goes to last line of main() function - at this point, all threads are not available.
soso999a at 2007-7-15 15:18:07 > top of Java-index,Archived Forums,Debugging Tools and Techniques...