GROSE D J wrote:
> I would like to try and run the my server from gdb so that I can get a
> stack trace when it fails, but I am not sure how to go about this. Have
> you any suggestions ?

There is some information about running Oz in the OPI under gdb here: 
http://www.mozart-oz.org/home/doc/opi/node7.html#label218

When I personally had to run the Oz emulator under gdb in the past, I edited 
/usr/local/oz/bin/oz and changed the line:

exec $OZEMULATOR $OZGUI -u $url -- "$@"

to

exec gdb $OZEMULATOR # $OZGUI -u $url -- "$@"

(And then "run -u FunctorPath" in gdb.)

Another thing: There are two ways to create stationary objects in Mozart 1.4.0. 
See 
http://www.mozart-oz.org/documentation/dstutorial/node3.html#making.stationary.objects
It might be worthwile to try the method you are not currently using. Maybe the 
problems will go away.

Cheers,
  Wolfgang

-- 
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to