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 164776 - cannot debug application client
Summary: cannot debug application client
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
: 167404 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-08 15:55 UTC by ymajoros
Modified: 2010-05-05 22:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ymajoros 2009-05-08 15:55:36 UTC
In a EAR project, I have an app client which I cannot debug by clicking on "debug".

1) App client libraries are not found while debugging. I need to copy them to the ear project for it to work in debug mode.
2) While launching "debug" target on ear project, it asks me if glassfish is running in debug mode. If I say "yes", it
stops. So, I always say "no". It works anyway, even if running in debug mode. Found some information about that,
basically the reason for asking the question. It still looks like a bug.
3) Step 2 only allows to debug the client code. To debug the EJB module which is also part of the application, I need to
run glassfish in debug mode, and attach to the process (jpda). It then works (can set breakpoints, inspect, recompile, ...).

I think this is a real pain. It definitely needs to work better. While in a ear project, I'd expect just hitting the
"debug" button to debug the app client and ejb modules. It would restart glassfish in debug mode, attach, ... if needed.
I shouldn't have to add the client libs to the ear package, as I don't need to do that to run the client.
Comment 1 David Konecny 2009-05-10 21:21:23 UTC
Which version of NB are you running? Is it really 5.0?
Comment 2 ymajoros 2009-05-10 21:26:44 UTC
No, it is 6.5. I have this problem since 6.0, at least. On different computers. With different projects. I guess
debugging app client in netbeans is clearly bugged right now.
Comment 3 David Konecny 2010-05-03 22:58:14 UTC
*** Bug 167404 has been marked as a duplicate of this bug. ***
Comment 4 David Konecny 2010-05-05 22:40:55 UTC
As reported there were many problems which I fixed by rewrite of app client execution and debugging. Testing is highly appreciated. de077f817c80