The terminal I use is ( copied from settings->environment->general settings): gnome-terminal --disable-factory -t $TITLE -x
Here's the full log:
The last 3 lines of the log were written when I clicked "stop debugger" twice and then kill -9 5087
I see output in the logging that was supposed to go to the terminal window.
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
ificonsole
Adding source dir: /home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/
Adding source dir: /home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/
Adding file: /home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/xvan/ificonsole
Changing directory to: "/home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/xvan"
Set variable: LD_LIBRARY_PATH=.:
[debug]Command-line: /usr/bin/gdb -nx -fullname -quiet -args "/home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/xvan/ificonsole"
[debug]Working dir : /home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4
Starting debugger: /usr/bin/gdb -nx -fullname -quiet -args "/home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/xvan/ificonsole"
done
[debug]> set prompt >>>>>>cb_gdb:
Setting breakpoints
[debug]Reading symbols from /home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/xvan/ificonsole...done.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
[debug]Copyright (C) 2016 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law. Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "x86_64-linux-gnu".
[debug]Type "show configuration" for configuration details.
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]Find the GDB manual and other documentation resources online at:
[debug]<http://www.gnu.org/software/gdb/documentation/>.
[debug]For help, type "help".
[debug]Type "apropos word" to search for commands related to "word".
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 200
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor intel
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> directory "/home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/"
[debug]Source directories searched: /home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4:$cdir:$cwd
[debug]>>>>>>cb_gdb:
[debug]> set args -d 3 -configdir escape -story escape.dat
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: /home/marnix/XVAN 2.3.4/03 - ifi-xvan2-3-4/xvan/ificonsole -d 3 -configdir escape -story escape.dat
[debug][Thread debugging using libthread_db enabled]
[debug]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[debug]IFIConsole, passing start json, {"configdir":"escape","datadir":".","story":"escape.dat"}
[debug]IFIClient, setting log level to 3
Child process PID: 5093
[debug][New Thread 0x7ffff6cdf700 (LWP 5093)]
[debug]-- XVAN 2.3.4 interpreter --
[debug](c) Marnix van den Bos
[debug]You must escape! version 1.0 - English
[debug]Suddenly you are here. You have no recollection of anything. Your mind is empty, like it just started.
[debug]You are in some sort of a building, but you can also see through it. You faintly see meadows and a blue sky. The building somehow merges with the outside world. It's like your surroundings are not yet finished.You can also make out blue, red and green objects in the near distance and a shiny object that looks like gold.
[debug]Very weird...
[debug]Someone walks into the room. A big nondescript guy. He is carrying a tablet. When he sees you he looks surprised and a bit confused.
[debug]'What's going on? Who put you in here already? The world isn't even finished. They all know that the player object should only be enabled during he final test cases and regression tests.' We're not that far yet!
[debug]He looks at you and smiles. 'I'm sorry buddy. This shouldn't have happened. I'm going to fix this right away.After a few swipes on the tablet screen he starts typing. You hear him mumbling something about 'commenting out' and 'recompiling'.
[debug]And then everything goes black again....
[debug]Hit a key...
[debug]========================= I N T R O D U C I N G X V A N ======================
[debug]This is a short sample story for XVAN 2.1.It has 7 rooms and 29 objects, including the player and one npc named Fred.The story contains several puzzles and you need to interact with Fred to solve some of them. You have one goal: escape.
[debug]Disclaimer: I wrote this story to illustrate XVAN's possibilities from a technical perspective. It was not my intention to produce a high level piece of prose.
[debug]===============================================================================
[debug][chest room](use chest room)
[debug]This is a room with an exit leading east.
[debug]There is [an old wooden chest](use old wooden chest) here, which is closed.
[debug][lamp](use lamp)[lamp](use lamp)[lamp](use lamp)[lamp](use lamp)[lamp](use lamp)[lamp](use lamp)[lamp](use lamp)>
Trying to interrupt process with pid: 5093; child pid: 5093 gdb pid: 5087
[debug]225 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: No such file or directory.
[debug]Thread 2 "ificonsole" received signal SIGINT, Interrupt.
[debug][Switching to Thread 0x7ffff6cdf700 (LWP 5093)]
[debug]pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
[debug]>>>>>>cb_gdb:
Trying to interrupt process with pid: 5093; child pid: 5093 gdb pid: 5087
Trying to interrupt process with pid: 5093; child pid: 5093 gdb pid: 5087
Debugger finished with status 1