debugger

Lyn A Headley laheadle@REDACTED
Sun Jun 9 18:05:46 CEST 2002


Hello List,

I've been playing with erlang a little bit and I would like to get to
know the debugger, since I tend to write buggy code.  Luckily, it
didn't take me long to write a little program which doesn't work.  So
I fired up the debugger just like it says in the users manual,
compiled my module with debug_info, and tried a Modules -> interpret.

The interpret request fails and says the module must be purged before
loading.  Ok fine.  code:purge(cothink).  Try again.  Same error!

Any ideas? I saw another posting back in february with the same
question.  Is it a bad sign that nobody answered?

thanks,

-Lyn



(lyn@REDACTED)1> c(cothink, debug_info).
{ok,cothink}
(lyn@REDACTED)2> debugger:start().
<0.40.0>
(lyn@REDACTED)3> 
=ERROR REPORT==== 9-Jun-2002::11:30:53 ===
Module cothink must be purged before loading

=ERROR REPORT==== 9-Jun-2002::11:30:53 ===
Loading of /home/lyn/src/erlang/cothink/cothink.beam failed: not_purged

=ERROR REPORT==== 9-Jun-2002::11:31:00 ===
Module cothink must be purged before loading

=ERROR REPORT==== 9-Jun-2002::11:31:05 ===
Module cothink must be purged before loading

=ERROR REPORT==== 9-Jun-2002::11:31:05 ===
Loading of /home/lyn/src/erlang/cothink/cothink.beam failed: not_purged

=ERROR REPORT==== 9-Jun-2002::11:31:13 ===
Module cothink must be purged before loading

(lyn@REDACTED)3> code:purge(cothink).
false
(lyn@REDACTED)4> code:purge(cothink).
false
(lyn@REDACTED)5> c(cothink, debug_info).
{ok,cothink}
(lyn@REDACTED)6> debugger:start().
<0.73.0>
(lyn@REDACTED)7> 
=ERROR REPORT==== 9-Jun-2002::11:32:27 ===
Module cothink must be purged before loading

=ERROR REPORT==== 9-Jun-2002::11:32:27 ===
Loading of /home/lyn/src/erlang/cothink/cothink.beam failed: not_purged

=ERROR REPORT==== 9-Jun-2002::11:32:32 ===
Module cothink must be purged before loading



More information about the erlang-questions mailing list