dbg_iload:guard_test/1 patch

Luke Gorrie <>
Thu Apr 1 11:56:55 CEST 2004


The patch below adds support for two types of guards in the
debugger's Erlang interpreter:

  not <Expr>

It just translates them into:

  Var == true
  <Expr> /= true

These seem to be new features added to Erlang but not this

If you use these guards in your programs and you have seen Distel
blowing up when you interpret your modules, I recommend applying this
in lib/debugger/src/ :-)

P.S., is there any technical reason not to rewrite the Erlang
interpreters in the debugger and/or shell to interpret Core Erlang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbg_iload.patch
Type: text/x-patch
Size: 734 bytes
Desc: guard_test/1 fix
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20040401/12851a43/attachment.bin>

More information about the erlang-patches mailing list