debugger & packages?

Mark Scandariato mscandar@REDACTED
Wed Jun 30 00:24:09 CEST 2004


Here's the actual error:

=ERROR REPORT==== 29-Jun-2004::18:19:04 ===
beam/beam_load.c(908): Error loading module foo:
   module name in object code is pkg.foo


=ERROR REPORT==== 29-Jun-2004::18:19:04 ===
Loading of /users/mscandar/Test/src/pkg/foo.beam failed: badfile

=ERROR REPORT==== 29-Jun-2004::18:19:04 ===
Error in process <0.215.0> with exit value: 
{{badmatch,{error,badfile}},[{int,'-
load/2-fun-0-',2},{int,load,2},{dbg_ui_interpret,gui_cmd,2},{dbg_ui_interpret,lo
op,1}]}


Mark Scandariato wrote:
> Is there a way to get the debugger to recognize packaged modules (e.g., 
> -module(foo.bar.baz) in directory foo/bar)?
> 
> It complains that the beam file foo/bar/baz.beam has the module name 
> foo.bar.baz !
> 
> I couldn't find anything in the release notes (R9C-2).
> 
> Thanks,
> Mark.
> 





More information about the erlang-questions mailing list