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 183677 - Debugging with Java x64 is broken.
Summary: Debugging with Java x64 is broken.
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 23:09 UTC by jfarjona
Modified: 2011-02-16 20:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshots (947.56 KB, application/force-download)
2010-04-09 17:18 UTC, jfarjona
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jfarjona 2010-04-07 23:09:19 UTC
Hello:

I cannot debug EJB-based apps.  Once Netbeans connects to the VM everything stops working.  You stop debugging (detach) and the app. server continues to work.
No, I have no breakpoints.  It just pauses Glassfish v3 until you detach, then everything goes back to normal.  Impossible then to debug.

Juan
Comment 1 Vince Kraemer 2010-04-07 23:26:52 UTC
Hi.  Since I do not have Vista x64, I am going to have to ask you far more questions than 'normal' to diagnose and resolve this.  

How did you start NetBeans?

How did you start the v3 server?

Are NB and GF using a 64 bit jvm... or is there some kind of mix-and-match?

Where is your x64 JVM installed?

Can you attach a screenshot of the IDE when this happens...  I am particularly interested in the Debugger tools...
Comment 2 Vince Kraemer 2010-04-08 13:33:03 UTC
from an e-mail exchange with the filer...

I am running both GF and NB with the 64-bit JVM.
I start GF from NB using the debug command.  The log says that it is deploying the application and then it stops everything (although in the NB console it shows that no process is paused).  As soon as you detach the debugger, GF continues to deploy the application.  I thought it was due to the recent update to JDK6 u19, but happens the same with u18.

Now, if I deploy the application, use it one time, and then attach to the debugger, then I am able to debug normally.
Comment 3 Vince Kraemer 2010-04-08 15:46:28 UTC
Juan: what is the info in the dialog that opens when you select the About item of the Help menu?
Comment 4 jfarjona 2010-04-09 17:04:03 UTC
Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_18; Java HotSpot(TM) 64-Bit Server VM 16.0-b13
System: Windows Vista version 6.0 running on amd64; Cp1252; en_US (nb)
Userdir: C:\Users\root\.netbeans\6.8
Comment 5 jfarjona 2010-04-09 17:18:25 UTC
Created attachment 96977 [details]
Screenshots
Comment 6 jfarjona 2010-04-24 17:34:47 UTC
Hello guys:

I just tried by running on 32-bit JDK (both Netbeans and glassfish), same problem.
I tried also with Netbeans 6.9 beta, no luck, same problem.

Juan
Comment 7 Vince Kraemer 2011-02-16 20:34:24 UTC
cannot replicate with recent dev build of nb 7.0 and gf 3.1 on win 7.

Please reopen with detailed steps that I can follow to reproduce the issue...

Please include the steps necessary to create the project that you are attempting to debug and any other supporting projects.