What is the 'Exit' button in Run console?

Hello,

Two questions:
1. What is is for? I guess, that button 'Close' is do the same...

2. Why 'Exit' icon show 'Enter' door? :))

Thanks!

4 comments
Comment actions Permalink

Hello,

Two questions:
1. What is is for? I guess, that button 'Close' is do the same...
2. Why 'Exit' icon show 'Enter' door? :))

Thanks!


I think I can answer these questions.

1. I think Exit shuts down the running JVM nicely, allowing shutdown hooks
to run, etc. I think Close might simply kill the Java process.
2. When I see the icon, I think of "leave my room please" - you're asking
the program to leave, and the icon shows that there's a process of walking
out the door, before the JVM has left. Anyway, how can you tell when someone
is entering or exiting a room? After all, when you exit one room, you are
entering another room. I don't see how an icon can mean exit or enter.

0
Comment actions Permalink

1. I think Exit shuts down the running JVM nicely, allowing shutdown hooks
to run, etc. I think Close might simply kill the Java process.


Exactly:)


0
Comment actions Permalink

Evgueny Vigdorchik wrote:
>>1. I think Exit shuts down the running JVM nicely, allowing shutdown hooks
>>to run, etc. I think Close might simply kill the Java process.


Exactly:)


I was also wondering the same thing as Alexey. Using the words "Exit
cleanly" in the tooltip might convey this meaning more precisely and
renaming "Stop" to "Terminate" might also help.

Regards,

Glen

0
Comment actions Permalink

I was wondering if we could get an exit-button for debugging to, so we can debug shutdown hooks?

0

Please sign in to leave a comment.