internal dbg, snapshot 20000101-A

Benoit Cerrina Benoit.cerrina at writeme.com
Sat Jan 8 09:56:50 GMT 2000


Are you using libtools?
I noticed when I tried to debug kdevelop that if you disable the config
option for  using libtools this doesn't happen.
This was because when you enable libtools the actual executable is in a
.libs file and the file with the project name is
a script which does some magic to make libtools work.
Ben
----- Original Message -----
From: Thomas Regner <tomte at subdimension.com>
To: <kdevelop at barney.cs.uni-potsdam.de>
Sent: Tuesday, January 04, 2000 11:19 PM
Subject: Re: internal dbg, snapshot 20000101-A


> On Die, 04 Jan 2000, you wrote:
> > On Wed, 05 Jan 2000, you wrote:
> >
> > > I did! Jan 04 1999, 11.??
>                         ^^^^^
> 2000 !
> > 10.?? GMT?
> > That's got everything then.
> >
> // snip
> > > Is there a chance to get the debugger code to output some more
information
> to > > the console?
> >
> > Yes, to more output - No, to console output
> >
> > I have two compile flags
> > -DGDB_MONITOR - in/out of gdb messages
> > -DDBG_MONITOR - the above plus internal debug messages
> >
> > Recompile with one of these flags (I suggest -DGDB_MONITOR) and you'll
get
> > another output tab "debugger". You can cut and paste from this window.
> I recompiled with -DGDB_MONITOR
>
> Here´s the output:
>
> Start dbgset prompt  i
> set confirm off
> set print static-members off
> tty (null)
> set width 0
> set height 0
> set stop-on 1
> set print asm-demangle off
> file kcqedit
> run
> (gdb)
> (gdb)
> (gdb)
> (gdb)
> (gdb)
> (gdb)
> (gdb)
> (gdb)
> (gdb) (no debugging symbols found)...
> (gdb) (null): Datei oder Verzeichnis nicht gefunden.
> set prompt  T
> backtrace
> set prompt  i
>
> Program exited with code 01.
> You can't do that without a process to debug.
>
> (gdb)
> (gdb) No stack.
>
> (gdb)
> (gdb)
>
> I dare say, it just doesn´t find the executable, but why?
> I hope you know what this means...
>
> > Just a thought: does your program need any arguments to run? I was using
the
> > "program arguments" but now have separate arguments for when you run
> > in the debugger.
>
> It needs no arguments.
> ( even the default hello world c++-app isn´t debugable.
>
> bye,
> Tom
> --
> /--------------
> | Thomas Regner
> | Kaiserstr. 5
> | 26122 Oldenburg
> | Tel.: +49 441 7775005
> | E.:   tomte at subdimension.com
> |______________________________/
>
>





More information about the KDevelop mailing list