Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - GlaDiaC

Pages: [1]
1
Technical Help: IN GAME bugs (after loading world) /
« on: March 03, 2005, 11:53:15 pm »
If you want a file, try this:

Code: [Select]
#!/bin/sh

export CRYSTAL=.
export CEL=.
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH

GDB=gdb
PLANESHIFT=psclient

ARGS=$*
PID=$$

cat > .dbgfile.$PID << HERE
file $PLANESHIFT
set args $ARGS
run
bt full
cont
quit
HERE

$GDB  -silent < .dbgfile.$PID &> gdb_log.$PID

rm -f .dbgfile.$PID
echo \"Log written to: gdb_log.$PID\"


code is not tested yet ;)

2
Technical Help: IN GAME bugs (after loading world) /
« on: March 03, 2005, 11:13:08 pm »
Compile cal3d, CS, cel and planeshift with --enable-debug. Run the psclient with

gdb psclient

if it crashs type

bt full

in the gdb console.

help in gdb console and the manpage explains all your needs.

Pages: [1]