[ nice-Bugs-1096738 ] jdb off-by-one-line problem

"SourceForge.net" <[email protected]> Sat, 19 Feb 2005 10:22:21 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1096738, was opened at 2005-01-05 16:16
Message generated for change (Comment added) made by mbeckerle
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1096738&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: mike.beckerle (mbeckerle)
Assigned to: Nobody/Anonymous (nobody)
Summary: jdb off-by-one-line problem

Initial Comment:
I'm using jdb to debug nice. (version 0.9.10)

When I do, I set a breakpoint via 

> stop at fnName

then when I 

> run

It stops at a breakpoint

> list

lists the programs, but the => pointer points 1 line 
above where the program is actually running. 

This makes stepping through code tedious at best.



----------------------------------------------------------------------

>Comment By: mike.beckerle (mbeckerle)
Date: 2005-02-19 13:22

Message:
Logged In: YES 
user_id=1182016

Sorry, I'm not actively using Nice now. Go ahead and close
this out if you can't reproduce.

----------------------------------------------------------------------

Comment By: Daniel Bonniot (bonniot)
Date: 2005-02-19 10:51

Message:
Logged In: YES 
user_id=88952

I just did some experiments with jdb, and line numbers were
quite right, not off-by-one. It can very well be that some
statements don't get the correct line number. Could you give
us an example of when this happens? Ideally this would be a
tiny self-contained program that we can test. The text of
any method where you have problems should do as well, since
I suspect this has to do with the mere structure of the
code, rather than a precise situation.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1096738&group_id=12788


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click