If you're going to go through the labs in detail, we would much
appreciate any comments you have about how they can be made easier for a
first-time user.
Also, use Package Manager every now and again to check for a new version
- we are adding sections and fixing wording.
Henry Rich
On 3/4/2015 9:26 AM, Björn Helgason wrote:
I like this dissect addon and labs.
At the end of dissect II lab I sometimes get stack error trying to play
with the debug
Dissect lab II
── ((7) 11 of 11) Assignment statements ─────────────────────
Did you notice anything unusual in the Dissect displays as
you were single-stepping through the program?
When Dissect is called from the debugger, assignment
statements are ignored. The Dissect display is informational
only. The dissected line will be executed when the program
resumes. Therefore, side-effects such as assignments should
be avoided.
Side-effects in verbs called by your sentence cannot be
avoided; you should avoid dissecting lines that have
side-effects.
)
|stack error: run1
|[-1]
|stack error
|stack error
|stack error
|stack error
If I ignore the steps etc in debug the lab finishes fine.
It looks like debug is getting better but it is not quite failfree for
ignorant people like me.
This dissect stuff will keep me busy for a while I guess I have to run the
labs over a few times.
I am pretty sure it will help a lot of people understand J execution better.
It is quite nice to get to study the examples more slowly than just to
quickly glance through the whole thing.
It is easy to miss some of the features.
I hope I will be better at managing the debug now.
2015-03-03 9:12 GMT+00:00 Björn Helgason <[email protected]>:
This is great!!
I put a fairly complicated sentence with a hook into dissect and the
display is nice and then the explanation on pointing at elemnents quite
inomative andgood
Have not had time to go through the labs yet but intending to shortly.
Look forward testing/using this and finally getting a good debug in J I
can use and understand.
On 2 Mar 2015 01:13, "Henry Rich" <[email protected]> wrote:
Version 3.7 of the Dissect addon is released, for j6.02 and J8.03+.
Dissect aims to be the easiest-to-use and most complete tool for learning
J and debugging J sentences, and I think this version is a big step in that
direction. Check it out if you haven't yet.
This release has:
* Tutorial labs to help you learn dissect (thanks to David Steele for
writing these). If you're not a J guru, you might learn some J too.
* Built-in help, with tooltips for all the display components, so you can
hover over blocks and see what they mean.
* Integration into the J8 debugger so that you can press a button to
dissect the sentence the debugger has stopped on. There's also an
Autodissect Mode so that as you step through a verb, every sentence is
dissected automatically before it is executed.
IMPORTANT: When you get the new debug/dissect from Package Manager, make
sure you also get the latest versions of labs/labs, ide/qt, and the Base
Library.
The Labs will run on J6.02, they're just not released for that platform,
so if you're still on 6.02 you can download them on J8.03 and copy to your
Labs directory.
Henry Rich
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm