Debug KDE2 with internal debugger (was Re: BUG in german translation)

jbb jbb at ihug.co.nz
Mon Jan 24 18:47:01 GMT 2000


On Tue, 25 Jan 2000, you wrote:

> BTW: How could one debug KDE2 applications with the internal debugger?

If you have kdevelop1.1 running under kde2 correctly (which is not difficult)
then

- If you've managed to make a kde2 kdevelop project then just press debug. Make
sure to set "bin_program=.libs/project", if necessary in project.kdevprj.

 - If it's not a kdevelop project, but it's an ordinary executable, then
debug using the "other executable" option.

- If it's a dlopen'd library, launched by kinit (kdeinit?), then build a
kinit project first and then debug with arguments. Make sure you have "Try
setting BPs on lib load" checked in the debugger options so that breakpoints
can be set in the lib correctly. kinit shouldn't need debug symbols on, but your
library will, of course.

This is not ideal yet (re the kinit option), but it should be possible. I've
not tested with kinit but have tested with dlopen'd libraries in other projects.

Let us know if you are successful or not.

-- 
Regards,

jbb
http://homepages.ihug.co.nz/~jbb
ICQ: 60412209




More information about the KDevelop mailing list