Actually the qtide debug window already has some PFKEY shortcuts,
NB. jdb_debug function keys
NB.
NB. keyboard shortcuts
NB.
NB. the ~ allows TAB to line up the entries correctly
NB. with large fonts...

j=. 0 : 0
Enter          !single step over
F5~~~~~~~~     !run
Ctrl+Shift+F5  !run from next line
F6~~~~~~~~     !single step into
F7~~~~~~~~     !single step over
F8~~~~~~~~     !step out of current definition
F9~~~~~~~~     !toggle stop on cursor line
Ctrl+Shift+F9  !remove all stops
Ctrl+T         !toggle topmost attribute
Ctrl+W         !write current line to session
)

On Thu, Dec 3, 2020 at 12:45 AM John Baker <[email protected]> wrote:

> Henry,
>
> I can confirm that your "butt-ugly" 9.02 debugging PFKEY workaround works
> on Win64 systems.
>
> Fortunately you can set the PFKEY to suppress the line text so you don't
> have to look at the butt ugliness as you step through code.
>
> Thanks
>
>
> On Tue, Dec 1, 2020 at 4:21 PM Henry Rich <[email protected]> wrote:
>
> > Assigning a debug action to a PFkey is problematic on J9.02 because of
> > some internal technical details. Briefly, the debug action now produces
> > a result that must be received by the suspension code, but the normal
> > ways of running PFkeys cause the verb result to be discarded.
> >
> > Perhaps a future JQt will fix this problem.  In the meantime I can offer
> > a butt-ugly workaround:
> >
> > If you now have:
> >
> > F3;0;Run;dbrun $0
> >
> > replace it with the ONE LINE
> >
> > F3;0;Run;9!:29 (1) [ 9!:27 'dbrun $0 [ 9!:29 (' , (": 9!:28'') , ') [
> > 9!:27 ''' , ((#~ [: >: ''''&=) 9!:26'') , ''''
> >
> > This pushes the sentence through the immex phrase to where suspension
> > will see its result.
> >
> > Henry Rich
> >
> >
> > -------- Forwarded Message --------
> > Subject:        [Jprogramming] Brave GitHub Rewards and dbrun ''
> > Date:   Mon, 30 Nov 2020 08:57:28 -0700
> > From:   John Baker <[email protected]>
> > Reply-To:       [email protected]
> > To:     Programming forum <[email protected]>
> >
> >
> >
> > I just noticed that if you are on GitHub you can register for Brave
> browser
> > token rewards.
> > The tokens can be used to tip sites and can be converted into cash.
> Nobody
> > will get rich on them but hey it's free money. Jsoftware might as well
> > register.
> >
> > Also, have recent changes to QT altered how PFKEYS work? For years I have
> > assigned dbrun '' to a PFKEY. Then to debug I set all the stops with
> > dbstop 'whatever' and simply hit the PFKEY to step through explicit code.
> > It's simple and effective but it stopped working with the last round of
> > changes. Now I must type dbrun'' in the console.
> >
> > Cheers
> >
> > --
> > John D. Baker
> > [email protected]
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> >
> >
> > --
> > This email has been checked for viruses by AVG.
> > https://www.avg.com
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
> --
> John D. Baker
> [email protected]
> ----------------------------------------------------------------------
> 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