Fwd: Java Debugging Support

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue May 1 11:10:47 UTC 2001


I've just commited the jdb front end code that Oliver describes below. I've
fixed the need for hard coded paths and class names, and it uses the
project()->mainProgram() and project()->projectDirectory() attributes instead.
Thanks Oliver...

-- Richard

----------  Forwarded Message  ----------
Subject: Java Debugging Support
Date: Sun, 29 Apr 2001 20:19:19 +0200
From: Oliver Strutynski <olistrut at gmx.net>



Hi Richard,

I finished work on a first version of JDB Support. It is not at all feature 
complete (setting breakpoints does not work yet, hangs from time to time) but 
could serve as a starting point for further development. The tgz file I 
attached contains a README describing some of the parsing in the 
jdbcontroller.

To set up the jdb support it is necessary to adjust s ome hard-coded strings 
at the moment: In JDBController::slotStart adjust the classpath and source 
path to the app being debugged, in JDBController::getFile define the mappings 
between all classnames in your project and the corresponding source files 
(this data should probably come from the class store in the future).

I made some small changes to some of the other files in the javadebugger 
directory, but I think it should be possible to merge these files with the 
gdb support files again in the future.

Also note that the jdb integration does not work with a JDK 1.1.x. I developed 
using IBM JDK 1.3 and ran some tests with Sun's JDK 1.2.2.

If you have any questions/comments/critizism feel free to contact me.

Bye, Oliver


-- 
_____________________________________________________________________
 Oliver Strutynski                      oliver.strutynski at cs.tum.edu
                                                  olistrut at iname.com







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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: javadebugger.tgz
Type: application/x-gzip
Size: 50687 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20010501/272a1ebd/attachment.gz>


More information about the KDevelop-devel mailing list