Getting started with jdb support

Bernd Gehrmann bernd at physik.hu-berlin.de
Thu Apr 19 12:15:34 UTC 2001


On Thu, 19 Apr 2001, Ralf Nolden wrote:
> Ok, here's my 2c for that one. Fixing breakpoint moving is somewhat
> difficult if you only store the filename and linenumber. What if the
> user uses e.g. Cervisia to update his project via CVS, then switch back
> to kdevelop ? or editing files outside kdevelop with another editor ?

A 1st order approximation to a sane behaviour would be to store
the file's time stamp together with the breakpoint information
and forget the breakpoints when the file has been changed outside.

> That means, we should connect the line contents itself with the
> breakpoint, even at the cost that the project file storing this
> debugging infos may get a bit bigger.

Hopefully you don't have identical lines then ;-) Emacs has a
very elaborate method for finding lines that are moved around,
see etags-goto-tag-location.

Bernd.


-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list