David Mitchell wrote:
The following sequence caused an error:

load'dd'

(ctrl-k to start Debug)
(click on Hand Icon to open Stop window)
(select locale jdd)
(select ddcon, put stop on 1st line)
(close Stop window)

ddcon ''

(Debug window shows :
  *>[0] ddcon_jdd_
  ----------------
  stop
  ddcon[0] ddcon_jdd_
)

(click on Hand Icon)

|ill-formed name: ddcon_jdd__base_
|jdb_isexplicit[0]

At this point, most actions in the Debug window fail with ill-formed name.


Stab at a fix, not much tested:

debugs.ijs

jdbstop_ini
...
nms=. ~. (jdb_boxxopen y), nms
  q=.(]i.&'_')&.>nms
  p=.('_'={:)&.>nms
  nms1=.q{.&.>nms
  SMNAMES=: nms1 ,. LOCALE(I. -.;p)} }:&.>(q+&.>p)}.&.>nms
  STNAMES=: SMNAMES
...

--
David Mitchell
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to