<div dir="ltr"><div>I asked this on the Elixir Google Group, but have had no response. It's actually more Erlang oriented, so I'm reposting here.</div><div><br></div><div>I have been experimenting with using the int module for debugging Elixir/Erlang, but I can't figure out how to examine bound variables. I attach a REPL process (meta process) to another process and use the functions in the int module to set breakpoints, step, and resume code, and that all works. I know there is the get_binding function, but the documentation says this is meant to be called from a conditional breakpoint condition function. In any case I don't know how to get the bindings to pass to this function.<br></div><div><br></div><div>Looking at the source code in int.erl I see there are other functions that can be called from a meta process, including the various meta functions. My attempt at calling meta(Meta, bindings, Stack) after reaching a breakpoint in the process being debugged locks up the meta process. My call looked like this (Elixir):</div><div><br></div><div>:int.meta(meta, :bindings, :nostack)</div><div><br></div><div>Which is essentially</div><div><br></div><div>int%meta(Meta, bindings, nostack) in Erlang (taken from the Erlang graphical debugger source code).</div><div><br></div><div>I tried looking at the source code for the Erlang graphical debugger, but I can't quite follow it. Can someone explain to me how to get the bindings after reaching a break point and after stepping code?</div><div><br></div><div>Thanks,</div><div><br></div><div>James</div></div>