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

Summary: Debug Project button becomes unavailable
Product: debugger Reporter: peterhull90 <peterhull90>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

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.