Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » source window not linked with debugger
source window not linked with debugger [message #145532] Wed, 25 February 2004 15:49 Go to next message
Eclipse UserFriend
Originally posted by: mike.miller.jda.nospam.com

I just encountered some flakiness with the Debugger and the source editor.
I can set breakpoints in our web application and the code stops at the
breakpoints and the variables view also works, showing variable values
correctly. The problem is that the source editor window does not work
with the debugger. The current instruction is not highlighted and gives
no indication where you are. I have to use the debug view and the stack
trace shows the line number. Then I have to switch over the the editor
and CTRL+L to get the correct line, and possibly file.

FYI... I wrote a small program, NOT a WEB APP and the debugging works for
that program.

I did some searching in the bugs database but didn't see anything that
seemed to match, but my search term may not have been the greatest.

Nothing out of the ordinary in the .log file either.

My environment: Win2K, Eclipse 3.0 M7, Sysdeo 2.2.1 Tomcat plugin tomcat
5.0.18 but this also fails with 4.1.27.

I start with -data pointing to workspace out-from-under \eclipse directory
-Xms256m -Xmx512m
Re: source window not linked with debugger [message #145541 is a reply to message #145532] Wed, 25 February 2004 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Have you tried turning off the System thread filtering in the debug view
(view drop down menu)?

We have a bug when threads are filtered and a breakpoint is hit in that
thread.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=50665
But this is claimed to be fixed in M7 (but not in 4.1.27)

We also have
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49473 which really has not
been resolved.

Thanks
Darins

"Mike Miller" <mike.miller@jda.nospam.com> wrote in message
news:c1j1nv$n7t$1@eclipse.org...
> I just encountered some flakiness with the Debugger and the source editor.
> I can set breakpoints in our web application and the code stops at the
> breakpoints and the variables view also works, showing variable values
> correctly. The problem is that the source editor window does not work
> with the debugger. The current instruction is not highlighted and gives
> no indication where you are. I have to use the debug view and the stack
> trace shows the line number. Then I have to switch over the the editor
> and CTRL+L to get the correct line, and possibly file.
>
> FYI... I wrote a small program, NOT a WEB APP and the debugging works for
> that program.
>
> I did some searching in the bugs database but didn't see anything that
> seemed to match, but my search term may not have been the greatest.
>
> Nothing out of the ordinary in the .log file either.
>
> My environment: Win2K, Eclipse 3.0 M7, Sysdeo 2.2.1 Tomcat plugin tomcat
> 5.0.18 but this also fails with 4.1.27.
>
> I start with -data pointing to workspace out-from-under \eclipse directory
> -Xms256m -Xmx512m
>
Re: source window not linked with debugger [message #145559 is a reply to message #145541] Wed, 25 February 2004 16:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mike.miller.jda.nospam.com

1) Yes I have tried with and without that option checked in the drop down
menu.

2) The second bug seems to point to system threads, and mine is not in a
system thread. Also, my problem is the reverse of the second problem -
debug view, stack trace, variable, etc do appear, its the source code view
that doesn't get updated to reflect the debugging.


Darin Swanson wrote:

> Have you tried turning off the System thread filtering in the debug view
> (view drop down menu)?

> We have a bug when threads are filtered and a breakpoint is hit in that
> thread.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=50665
> But this is claimed to be fixed in M7 (but not in 4.1.27)

> We also have
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=49473 which really has not
> been resolved.

> Thanks
> Darins

> "Mike Miller" <mike.miller@jda.nospam.com> wrote in message
> news:c1j1nv$n7t$1@eclipse.org...
> > I just encountered some flakiness with the Debugger and the source editor.
> > I can set breakpoints in our web application and the code stops at the
> > breakpoints and the variables view also works, showing variable values
> > correctly. The problem is that the source editor window does not work
> > with the debugger. The current instruction is not highlighted and gives
> > no indication where you are. I have to use the debug view and the stack
> > trace shows the line number. Then I have to switch over the the editor
> > and CTRL+L to get the correct line, and possibly file.
> >
> > FYI... I wrote a small program, NOT a WEB APP and the debugging works for
> > that program.
> >
> > I did some searching in the bugs database but didn't see anything that
> > seemed to match, but my search term may not have been the greatest.
> >
> > Nothing out of the ordinary in the .log file either.
> >
> > My environment: Win2K, Eclipse 3.0 M7, Sysdeo 2.2.1 Tomcat plugin tomcat
> > 5.0.18 but this also fails with 4.1.27.
> >
> > I start with -data pointing to workspace out-from-under eclipse directory
> > -Xms256m -Xmx512m
> >
Re: source window not linked with debugger [message #146685 is a reply to message #145559] Mon, 01 March 2004 19:38 Go to previous message
Eclipse UserFriend
Originally posted by: jos.somewhere.com

Mike,

I had the same problem as you tonight and I could also not step through
the source. Then I stumbled on the following thread
< http://www.eclipse.org/newsportal/article.php?id=15122&g roup=eclipse.platform>.

I deleted (renamed actually) the Workspace, started Eclipse, import
project into workspace, set the tomcat preferences and voila: I can debug
step through the code again.

Kind regards,

Jos


Mike Miller wrote:

> 1) Yes I have tried with and without that option checked in the drop down
> menu.

> 2) The second bug seems to point to system threads, and mine is not in a
> system thread. Also, my problem is the reverse of the second problem -
> debug view, stack trace, variable, etc do appear, its the source code view
> that doesn't get updated to reflect the debugging.


> Darin Swanson wrote:

> > Have you tried turning off the System thread filtering in the debug view
> > (view drop down menu)?

> > We have a bug when threads are filtered and a breakpoint is hit in that
> > thread.
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=50665
> > But this is claimed to be fixed in M7 (but not in 4.1.27)

> > We also have
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=49473 which really has not
> > been resolved.

> > Thanks
> > Darins

> > "Mike Miller" <mike.miller@jda.nospam.com> wrote in message
> > news:c1j1nv$n7t$1@eclipse.org...
> > > I just encountered some flakiness with the Debugger and the source
editor.
> > > I can set breakpoints in our web application and the code stops at the
> > > breakpoints and the variables view also works, showing variable values
> > > correctly. The problem is that the source editor window does not work
> > > with the debugger. The current instruction is not highlighted and gives
> > > no indication where you are. I have to use the debug view and the stack
> > > trace shows the line number. Then I have to switch over the the editor
> > > and CTRL+L to get the correct line, and possibly file.
> > >
> > > FYI... I wrote a small program, NOT a WEB APP and the debugging works for
> > > that program.
> > >
> > > I did some searching in the bugs database but didn't see anything that
> > > seemed to match, but my search term may not have been the greatest.
> > >
> > > Nothing out of the ordinary in the .log file either.
> > >
> > > My environment: Win2K, Eclipse 3.0 M7, Sysdeo 2.2.1 Tomcat plugin
tomcat
> > > 5.0.18 but this also fails with 4.1.27.
> > >
> > > I start with -data pointing to workspace out-from-under eclipse directory
> > > -Xms256m -Xmx512m
> > >
Previous Topic:JavaDocs for JDT 3.x
Next Topic:[ANN] parse-dot-classpath
Goto Forum:
  


Current Time: Tue Jul 22 00:52:36 EDT 2025

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

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

Back to the top