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 168701

Summary: cannot use jpda debugger until new project is created
Product: debugger Reporter: Filip Zamboj <fzamboj>
Component: JavaAssignee: Jaroslav Tulach <jtulach>
Status: VERIFIED FIXED    
Severity: blocker CC: blaha, jtulach, mentlicher, mmirilovic, psuchomel, sustaining
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Change in dependencies that fixed the problem on the 6.7.1/rc/2009-07-16_23-01-10 build
Smaller change in dependencies, just using Recommends tag

Description Filip Zamboj 2009-07-16 17:08:49 UTC
Product Version: NetBeans IDE 6.7.1 RC (Build 200907150227)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02
System: Linux version 2.6.28-13-generic running on amd64; UTF-8; en_US (nb)


1. install netbeans 6.7.1rc using installer 
2. open it with empty userdir 
3. open existing J2SE project 
4. try to toggle breakpoint or try to debug project <- doesn't work 

reproduced after netbeans restart as well. Debugging started to work once a new project was created.
Comment 1 Filip Zamboj 2009-07-16 17:14:29 UTC
this is not reproducible if you download .zip. It looks like installed version problem only. 
Comment 2 Daniel Prusa 2009-07-17 15:26:10 UTC
Just for completeness, this problem occurs only if javafx module is present and affects also other modules (e.g. form
editor).
When an existing J2SE project is opened, not all needed modules are automatically enabled.
It is related to ergonomics and javafx is somehow involved.
Comment 3 Martin Entlicher 2009-07-20 10:17:35 UTC
This looks like it needs to be solved in ergonomics - all JPDA debugger modules need to be enabled.
Comment 4 Marian Mirilovic 2009-07-20 10:20:46 UTC
Ok, guys this is stopper for NB 6.7.1 . 

Filip, are you still able to reproduce it even after latest changes in javafx ?
Comment 5 Filip Zamboj 2009-07-20 10:51:00 UTC
it's still reproducible in 
Product Version: NetBeans IDE 6.7.1 RC (Build 200907162301)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02


i'll check if there is any more up-to-date build 
Comment 6 Filip Zamboj 2009-07-20 11:02:03 UTC
not reproducible in 
Product Version: NetBeans IDE 6.7.1 (Build 200907192301)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02

=> fixed 
Comment 7 Filip Zamboj 2009-07-20 11:02:42 UTC
verified
Comment 8 Marian Mirilovic 2009-07-20 13:24:58 UTC
Martin/Petr/Jarda ... is this already fixed ? ... or do you plan to fix it different way into trunk ?
Comment 9 Jaroslav Tulach 2009-07-22 16:43:22 UTC
Dependencies of debugger.jpda.ui are weird. It depends on java.kit while it shall be opposite - java.kit shall require 
presence of JPDA debugger UI.
Comment 10 Jaroslav Tulach 2009-07-22 16:45:09 UTC
Created attachment 85077 [details]
Change in dependencies that fixed the problem on the 6.7.1/rc/2009-07-16_23-01-10 build
Comment 11 Jaroslav Tulach 2009-07-22 17:29:48 UTC
Created attachment 85078 [details]
Smaller change in dependencies, just using Recommends tag
Comment 12 Martin Entlicher 2009-07-22 17:33:50 UTC
Reviewed. debugger.jpda.ui serve as a kit - it enables whole Java Debugger.
This fix will correctly enable whole Java Debugger when java.kit is enabled. Thanks.
Comment 13 Jaroslav Tulach 2009-07-22 17:37:44 UTC
core-main#9c3ac607484c
Comment 14 Jaroslav Tulach 2009-07-22 17:44:37 UTC
release67_fixes#9c3ac607484c
Comment 15 Vojtech Sigler 2009-07-23 13:51:42 UTC
Verified in 6.7.1 (Build 200907230233)
Comment 16 Quality Engineering 2009-07-23 17:49:13 UTC
Integrated into 'main-golden', will be available in build *200907231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9c3ac607484c
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #168701: java.kit shall trigger whole Java debugger if available