debugger

Gunilla Arendt <>
Tue Jun 11 07:53:24 CEST 2002


Hi Lyn,

You can ignore the error message. When you have selected Modules->
Interpret, check the Modules menu again. cothink should now be
visible there.

However, I recommend you to fetch the R8B-1 release of OTP instead.
This release contains a new and much improved version of Debugger.

/ Gunilla

Lyn A Headley wrote:
> 
> 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
> 
> ()1> c(cothink, debug_info).
> {ok,cothink}
> ()2> debugger:start().
> <0.40.0>
> ()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
> 
> ()3> code:purge(cothink).
> false
> ()4> code:purge(cothink).
> false
> ()5> c(cothink, debug_info).
> {ok,cothink}
> ()6> debugger:start().
> <0.73.0>
> ()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