Bug 497632 - Terminate button not disabled in console view
Summary: Terminate button not disabled in console view
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-10 16:02 EDT by Ayub Malik CLA
Modified: 2019-11-20 21:57 EST (History)
3 users (show)

See Also:


Attachments
Console screenshot after program exits successfully (40.97 KB, image/png)
2016-07-10 16:02 EDT, Ayub Malik CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ayub Malik CLA 2016-07-10 16:02:38 EDT
Created attachment 263013 [details]
Console screenshot after program exits successfully

When running a Java application and the application has terminated successfully, the red "Terminate" button in the Console view is still active when it should be disabled.

This gives the false impression that my application is running.

I have compared this behaviour with Eclipse Mars.2 which disables the "Terminate" button
Comment 1 Jay Arthanareeswaran CLA 2016-07-11 01:49:44 EDT
My guess is it belongs in launching.
Comment 2 Sarika Sinha CLA 2016-07-11 02:43:11 EDT
Moving to Platform Debug.

I am not able to reproduce the problem with Eclipse Neon. Which build are you using?
Comment 3 Ayub Malik CLA 2016-07-11 06:54:50 EDT
The build number is 4.6.0.I20160606-1100
Comment 4 Ayub Malik CLA 2016-07-11 06:55:26 EDT
The build number is 4.6.0.I20160606-1100
Comment 5 Pierre-Yves Bigourdan CLA 2019-11-20 17:11:35 EST
This seems to happen a lot with lsp4e-based plugins. See my comment here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=553196#c2

To reproduce, use the latest nightly builds of the lsp4e + Wild Web Developer + the standalone Platform SDK. Create a simple JS file with a few console.log("hello world") statements inside. Debug As -> Node program. The debug session should end, but the Terminate button in the associated Console will never be disabled.
Comment 6 Sarika Sinha CLA 2019-11-20 21:57:03 EST
(In reply to Pierre-Yves B. from comment #5)
> This seems to happen a lot with lsp4e-based plugins. See my comment here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=553196#c2
> 
> To reproduce, use the latest nightly builds of the lsp4e + Wild Web
> Developer + the standalone Platform SDK. Create a simple JS file with a few
> console.log("hello world") statements inside. Debug As -> Node program. The
> debug session should end, but the Terminate button in the associated Console
> will never be disabled.

If someone can give a reproducible scenario for SDK it will be easier for me. I did see some inconsistency during debugging Bug 38016