Stack traces: Difference between revisions

Content deleted Content added
Rdm (talk | contribs)
J: include an example
Rdm (talk | contribs)
m J: slightly clearer example
Line 620: Line 620:
<lang j> f=:g
<lang j> f=:g
g=:13!:13 bind ''
g=:13!:13 bind ''
f 0 NB. no stack trace because debugging has not been enabled
f 7 NB. no stack trace because debugging has not been enabled
13!:0]1
13!:0]1
f 0
f 7
┌─┬─┬─┬─┬─────────────┬┬───┬──┬─┐
┌─┬─┬─┬─┬─────────────┬┬───┬──┬─┐
│g│0│0│3│13!:13@(''"_)││┌─┐│ │ │
│g│0│0│3│13!:13@(''"_)││┌─┐│ │ │
│ │ │ │ │ │││0││ │ │
│ │ │ │ │ │││7││ │ │
│ │ │ │ │ ││└─┘│ │ │
│ │ │ │ │ ││└─┘│ │ │
├─┼─┼─┼─┼─────────────┼┼───┼──┼─┤
├─┼─┼─┼─┼─────────────┼┼───┼──┼─┤
│f│0│0│3│g ││┌─┐│ │ │
│f│0│0│3│g ││┌─┐│ │ │
│ │ │ │ │ │││0││ │ │
│ │ │ │ │ │││7││ │ │
│ │ │ │ │ ││└─┘│ │ │
│ │ │ │ │ ││└─┘│ │ │
└─┴─┴─┴─┴─────────────┴┴───┴──┴─┘</lang>
└─┴─┴─┴─┴─────────────┴┴───┴──┴─┘</lang>