Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Java debugger doesn't start
Java debugger doesn't start [message #43494] Thu, 29 May 2003 14:59 Go to next message
Eclipse UserFriend
Originally posted by: redhorse04.gmx.de

Hello,

I've a problem using the Java debugger.

There comes up a dialog showing messages like
'Finding free socket...', 'Establishing debug connection...'. Then Eclipse
changes into debug view.

But now I can't start debugging. All options like 'Resume', Step into' and
so on
under "Run" are grayed out. The code editor doesn't show more than the
plain
source code. On the console I can switch to different debug sessions and I
can
terminate them.
The Task Manager shows a new javaw.exe process for every started debug
session - but nevertheless I can't see some action.

Is this a kind of bug or am I doing something wrong?

I'm using Eclipse 2.1 with Sun jsdk 1.4.1_02 under WinXp SP1.

Bye,

Patrick
Re: Java debugger doesn't start [message #43717 is a reply to message #43494] Thu, 29 May 2003 17:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jared-eclipse.mn.rr.com

Open the Debug view. (should have been open by default)

- Jared

Patrick Hagemann wrote:

> Hello,
>
> I've a problem using the Java debugger.
>
> There comes up a dialog showing messages like
> 'Finding free socket...', 'Establishing debug connection...'. Then Eclipse
> changes into debug view.
>
> But now I can't start debugging. All options like 'Resume', Step into' and
> so on
> under "Run" are grayed out. The code editor doesn't show more than the
> plain
> source code. On the console I can switch to different debug sessions and I
> can
> terminate them.
Re: Java debugger doesn't start [message #43772 is a reply to message #43494] Thu, 29 May 2003 17:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Patrick Hagemann wrote:

> Hello,

> I've a problem using the Java debugger.

> There comes up a dialog showing messages like
> 'Finding free socket...', 'Establishing debug connection...'. Then Eclipse
> changes into debug view.

> But now I can't start debugging. All options like 'Resume', Step into' and
> so on
> under "Run" are grayed out. The code editor doesn't show more than the
> plain
> source code. On the console I can switch to different debug sessions and I
> can
> terminate them.
> The Task Manager shows a new javaw.exe process for every started debug
> session - but nevertheless I can't see some action.

> Is this a kind of bug or am I doing something wrong?

> I'm using Eclipse 2.1 with Sun jsdk 1.4.1_02 under WinXp SP1.

> Bye,

> Patrick


Have you set a breakpoint in your code. The options you talk about will
only become active when you program is stopped at a breakpoint.
Re: Java debugger doesn't start [message #44920 is a reply to message #43772] Fri, 30 May 2003 11:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: redhorse04.gmx.de

Dave Wegener wrote:

> > But now I can't start debugging. All options like 'Resume', Step into' and
> > so on
> > under "Run" are grayed out. The code editor doesn't show more than the
> > plain
> > source code. On the console I can switch to different debug sessions and I
> > can
> > terminate them.
> > The Task Manager shows a new javaw.exe process for every started debug
> > session - but nevertheless I can't see some action.
[...]

> Have you set a breakpoint in your code. The options you talk about will
> only become active when you program is stopped at a breakpoint.

Yes, I've set up several breakpoints but the debugger didn't seem to start
debugging, i.e. it never reached a breakpoint. Even the option to halt in
the main method didn't work.

Eclipse simply switches to debug-view and nothing more happens.

Bye,
Patrick
Re: Java debugger doesn't start [message #44938 is a reply to message #43717] Fri, 30 May 2003 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: redhorse04.gmx.de

Jared Burns wrote:

> Open the Debug view. (should have been open by default)

Indeed it opened by default. But then I would like to have the possibility
to start debugging. But neither did the debugger start automatically nor
could I start it over the Run menu.

Bye,

Patrick
Update: Java debugger doesn't start [message #45337 is a reply to message #43494] Fri, 30 May 2003 16:33 Go to previous message
Eclipse UserFriend
Originally posted by: redhorse04.gmx.de

My first observation seems to be wrong. When I set a breakpoint
and start the debugger I can select 'Properties...' in the pop-up menu
of the breakpoint pane.
Under 'Restrict to Selceted Thread' I can read something like
'Thread [main] (Suspended (breakpoint at line 326 in App))'.
So the debugger worked correct but its state seems not to be
recognized by the Eclipse GUI in the other parts of the debug view.
At least I would expect some kind of cursor marking the position in
my code.
Further I'm not able to resume the suspended thread.

Bye,
Patrick
Previous Topic:How to see classes font different source folders in same package tree ?
Next Topic:Ant - "Copying resources to output folder"
Goto Forum:
  


Current Time: Thu May 01 23:42:48 EDT 2025

Powered by FUDForum. Page generated in 0.04027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top