<div dir="ltr"><div>Hi all,<br><br>I've been trying to debug this method in module hello_world (just to learn):<br>fac(0) -><br> 1; <br>fac(N) when N > 0, is_integer(N) -><br> N * fac(N - 1). % break-point<br>
<br></div>I have a break-point on the last line (where the comment is). Now, when I go <br>through the motions of debugging, it works fine. I can see N being decremented as <br>it should be. However, when I get to fac(0), the method instantly returns to the <br>
caller (the shell). In other debuggers (Visual Studio C#, for example), I'd have the <br>option to go back up the entire recursive tree and see the multiplication and the <br>results of the multiplication being done. Can I do the same here? If so, what am I <br>
missing? Is there a better strategy than what I'm using in debugging?<br></div>