Unfortunately no trick, but the bug can be produced under J32-602 for MS-Win with up to date library. As Jean-Philippe says, the bug is only present when a J error is catched by the debugger.
~ Gilles ---------- Original Message ----------- From: Jean-Philippe Doiron <[email protected]> To: Programming forum <[email protected]> Sent: Wed, 28 Jan 2009 10:50:35 -0500 Subject: [Jprogramming] Debug with J mapped files. > There is a little something annoying while working with mapped files. > (in J64-602) , > > Every time you open the debugger and a line containing a mapped file > crash (debug), the mapped file get corrupted. > > example to duplicate this behavior: > > load the following script.. > call create'' > open debugger (ctrl-K) > call test '' > > variable T1 and mapped file c:\test.jmf get corrupted > 100$0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16.... > instead of > 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16.... > > a trick to avoid that will save us lot of backup files. > > kind regards > > JP. > > P.S : J503a debugger keep a valid T1, but with a # of 80 instead of > 100, lost 20 INT. > > ---------------- BEGIN script ------------------------- > > load 'jmf' > load 'debug' > > create =: 3 : 0 > createjmf_jmf_ 'c:\test.jmf';50000 > map_jmf_ 'T1';'c:\test.jmf';'';0 > T1 =: i. 100 > unmapall_jmf_'' > ) > > test =: 3 : 0 > map_jmf_ 'T1';'c:\test.jmf';'';0 > 101{T1 > ) > > ---------------- END script ------------------------- > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ------- End of Original Message ------- ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
