Follow-up Comment #26, bug #9138 (project mldonkey):

copy mlnet.byte to your mldonkey directory and cd into it
execute the debugger as follows and replace "/path/to/src/" with the path to
the directory src in the mldonkey sources:
ocamldebug $(find /path/to/src/ -name '.*' -prune -o -name 'gtk' -prune -o
-name 'gtk2' -prune -o -name 'applets' -prune -o -type d -printf '-I %p ')
./mlnet.byte

then type the following in the debugger:
set checkpoints off
run

then wait until the problem occurs and type the following (however i don't
know if the debugger will just be killed, like mlnet.) (if mlnet didn't halt
into the debugger interrupt it with ctrl-c.):
bt

then for each # greater than 0 type (and replace # with the number):
frame #

example for the last part:
(ocd) bt
#0 Pc : 6160 Test char 22
#1 Pc : 6160 Test char 22
#2 Pc : 6160 Test char 22
(ocd) frame 1
#1 Pc : 6160 Test char 22
2 <|b|>test ()
(ocd) frame 2
#2 Pc : 6160 Test char 22
2 <|b|>test ()

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=9138>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs

Reply via email to