── (2 of 28) Activating Debug ───────────────────────────────

The Debug help file is in User Manual|Debug. Take a few

minutes to browse the help. You may also refer to it as you

go through the lab.

)


User Manual|Debug? User Manual where?


── (8 of 28) Stepping through a definition (ctd) ────────────

Step through this definition using Debug:


First ensure Debug is active (press Ctrl-K), then enter the

following. Note that dbstop 'foo' sets stops on all lines of

foo:


dbstop 'foo'

2 foo 3


OMG now it works. Why it can't be just Open File, F9/F6 whatever?
TurboPascal... 1983... no, we know better :)


dbstop was the key. Thank you Chris!




On Tue, Jan 3, 2017 at 1:07 AM, chris burke <[email protected]> wrote:

> See the lab: Help|Studio|Labs|Debug
>
> In brief, load debug with:
>
>    load 'debug'
>
>  and press Ctrl-K to show the debugger.
>
> On Mon, Jan 2, 2017 at 2:11 PM, Moon S <[email protected]> wrote:
>
> > 1) JQt (8.05, j64, windows, all latest) can't debug a program. I mean,
> run
> > it line by line, entering or stepping over functions. At least I couldn't
> > find how to do it. Moreover, it can't run a program: file > open > latest
> > ... someprogram.ijs --> new edit window with green background pops up,
> then
> > pressing button 'run' leads to JQt crash, i.e. all J windows disappear.
> >
> > 2) The documentaiton '.../addons/docs/help/dictionary/dx013.htm' says
> 'see
> > system\main\debug.ijs'; also debug.ijs is mentioned in
> > '.../addons/docs/help/user/library.htm'. But system/main contains only:
> > regex.ijs
> > socket.ijs
> > stdlib.ijs
> > task.ijs
> >
> > 3) Package manager has some debug packages (debug/dissect, /lint, /tte),
> no
> > pure 'debug', so probably debug.ijs must be 'built-in'? I could find it
> > only in addons/ide/jhs.
> >
> > Anyway, I just wanted to gebug a single file program, no project, nothing
> > fancy. Is there a simple way to do it without learning all the 13!:x
> stuff?
> > Some tutorial on that? Youtube? Anything?
> >
> > Thank you.
> >
> > Georgiy Pruss
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to