jsoftware / jsource

J engine source mirror
Other
645 stars 91 forks source link

throw vs. 13!:3 #122

Closed rdm closed 2 years ago

rdm commented 2 years ago

http://jsoftware.com/pipermail/beta/2022-January/010228.html restated here for easy tracking.

   ex=: {{1+y}}
   exa=: {{try.ex y catch.end.}}
   13!:0]1
   13!:3'ex 0'
   exa 4
5
   ex 3
|stop: ex
|   1+y
|ex[0]
      JVERSION
Engine: j903/j64/darwin
Release-a: commercial/2021-12-16T15:16:37
Library: 9.03.08
Qt IDE: 1.9.5/5.15.2(5.15.2)
Platform: Darwin 64
Installer: J903 install
InstallPath: /users/rauldmiller/applications/j903
Contact: www.jsoftware.com

But I should be able to use the debugger on code wrapped in a try. statement.

HenryHRich commented 2 years ago

try. turns off debugging during the try