Bug 527652 - Can't disconnect when stack frame is selected
Summary: Can't disconnect when stack frame is selected
Status: NEW
Alias: None
Product: DLTK
Classification: Technology
Component: Common-Debug (show other bugs)
Version: 5.8.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 5.8.2   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 01:05 EST by Vasili Gulevich CLA
Modified: 2017-11-24 07:15 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasili Gulevich CLA 2017-11-23 01:05:51 EST
Test steps
 
 - Launch a remote launch configuration.
 - Set a breakpoint
 - Make application under debug stop on breakpoint
 - Click Disconnect button

Expected

Debug session is detached. This is allowed in JDT.

Actual

Disconnect button is disabled.

Workaround

Select launch in Debug view, Disconnect button will be enabled.


Cause

Neither Thread nor Stack Frame are eligible debug targets in DLTK.

They are not implementing org.eclipse.debug.core.model.IDisconnect and are not recognized by org.eclipse.debug.internal.core.commands.CommandAdapterFactory as eligible targets for org.eclipse.debug.internal.core.commands.DisconnectCommand