Re: Eclipse Debugger Skipping Code
- From: David Kerber <ns_dkerber@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Oct 2006 08:01:22 -0400
In article <1160046633.149779.98450@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
JonathanCoultonProject@xxxxxxxxxxxxxx says...
Hi,
Me and my work collegue are having trouble with the Eclipse debugger in
v 3.1.0
I've had this problem before, but never found out why.
The problem is that I am stepping through code, and then with out any
reason, half way through a function the debugger will skip a large
amount of code, and the next time the debugger returns the line of
execution is in a completly different part of the code that occurs a
great deal of time later.
It has passed over numerous other break points.
Having investigated this issue on the web, most people seem to think
the class file is not compiled with the line numbers in, but I have
checked Windows=>Preferences=>Java=>Compiler and the 'Add line numbers
to generate class files' tick box is checked. Also, it occurs half way
through a function, which implies to me that the line numbers must be
there for me to have got that far.
We are using Tomcat 5, although this particualar peice of code is a
stand-alone program.
We are using ANT to compile the code, I suspect the issue may be
related to this, but I don't know how.
The build file compiles with the following:
<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
debuglevel="lines,vars,source" deprecation="off">
Any help would be greatly appreciated, no mater how unlikely, or
obvious (we may have done something silly in our set up).
Have yoou tried doing a "clean" on that project and on eclipse itself
(starting with the "-clean" command-line option)? I've found that the
that often fixes a lot of weird stuff that can build up over an extended
debugging session.
Kerrin
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
.
- References:
- Eclipse Debugger Skipping Code
- From: JonathanCoultonProject
- Eclipse Debugger Skipping Code
- Prev by Date: Eclipse Debugger Skipping Code
- Next by Date: New Software Development Articles Directory
- Previous by thread: Eclipse Debugger Skipping Code
- Next by thread: New Software Development Articles Directory
- Index(es):
Relevant Pages
|