[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How can I debug part of kdebase?
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-01-10 21:50:52
[Download RAW message or body]

On Wednesday 10 January 2001 12:27, Brian Wagener wrote:
> I am trying to modify kwrite, but I am having some problem.  Well my
> changes are crashing the program so I would like to run it through gdb
> to find the problem, though the file kwrite is a shell script to run
> .libs/kwrite, but if I run .libs/kwrite, it runs the kwrite that is
> installed in the system, and not the modified version.  What is up
> here?  What am I missing?

Once you run the shell script it will create a .libs/lt-kwrite which will be 
using your modified version. (More precisely: it uses the libraries in .libs 
instead of the installed libraries)

You can also use "../libtool gdb kwrite" which bascially creates this 
.libs/lt-kwrite file and then starts gdb.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic