This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267303 - Debug Project button becomes unavailable
Summary: Debug Project button becomes unavailable
Status: RESOLVED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-25 15:42 UTC by peterhull90
Modified: 2016-07-29 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (86.76 KB, text/plain)
2016-07-25 15:42 UTC, peterhull90
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peterhull90 2016-07-25 15:42:24 UTC
Product Version = NetBeans IDE Dev (Build 201607070002)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Haven't tried to reproduce it

STEPS:
  * Working on a small java project
  * Paused debugger and tried to do an edit and continue
 * Wasn't able to do this so stopped debugger and restarted
  * 'Classpath scanning in progress' message appeared and IDE seemed to be stuck in this state
 * Cancelled this and was not able to select the Debug Project button again (greyed out/unavailable)
 * But I could start the debugger by F7 step into

ACTUAL:
  Button is greyed out

EXPECTED:
  Button should be available for debugging

REPRODUCIBLE:
 Only happened once
Comment 1 peterhull90 2016-07-25 15:42:29 UTC
Created attachment 161430 [details]
IDE log
Comment 2 peterhull90 2016-07-28 09:35:21 UTC
I have tried and have not been able to reproduce this. 

Since the debug button becomes unavailable when you select an editor for a  file that's not in any project I suspect I might have done this inadvertently.

I think this report can be closed.
Comment 3 Martin Entlicher 2016-07-29 09:14:25 UTC
Yes, the Debug Project action is context-sensitive, therefore if the current file does not belong to a project, it's disabled.