Netbeans Debugger - Stepping in Java API ?

S

Steve Webb

Hi,

I'm using Netbeans and have a problems in some GUI code. I'm trying to
track the problem down but need to step into some of the javax code to
figure it out. When the netbeans debugger reaches any of the API code
it pops up a dialog telling me it doesn't know where the source is.
I've tried mounting the directory where the source is, adding the
src.zip to the class and load path and all sorts of other stuff but to
no avail :(

Anybody any idea's ?
 
C

Christophe Vanfleteren

Steve said:
Hi,

I'm using Netbeans and have a problems in some GUI code. I'm trying to
track the problem down but need to step into some of the javax code to
figure it out. When the netbeans debugger reaches any of the API code
it pops up a dialog telling me it doesn't know where the source is.
I've tried mounting the directory where the source is, adding the
src.zip to the class and load path and all sorts of other stuff but to
no avail :(

Anybody any idea's ?

You need to mount the src.zip file itself (mount => archive or something
like that).
 
S

Steve Webb

Thanks Christophe that worked a treat :)

Christophe Vanfleteren said:
You need to mount the src.zip file itself (mount => archive or something
like that).
 
W

winslave

I don't know specifically how to do this in Netbeans but
what the debugger needs is for the sourcepath to include
the src directory.
I suppose that baring other solutions you could just add all the source
files into your project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top