This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Insight bug, run command can't be put in --command file.


We have a set of commands that starts up Source-Navigator
in "regular" or "debug" mode. Like so:

echo "set args -- -home $prefix ${1+"$@"}" > gdb.run
#echo "run" >> gdb.run
exec gdb --command gdb.run $bindir/hyper

When using command line gdb, you can uncomment
the "run" line (so that it get added to the gdb.run file)
and gdb will start up just fine. If you try it with
insight, then the main GUI windows never show up.

This is kind of handy, as insight stays hidden
as your GUI application runs. Problem is, if the
application gets hit with a signal, Insight will
just display the "Signal Caught" dialog box
and then exit. It would be really nice if
Insight could show the little dialog and
then bring up the main insight windows
instead of doing an exit at that point.

If you do not put the "run" command in the file,
then insight starts up the normal way and
everything works as expected.

Mo DeJong
Red Hat Inc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]