bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Trace doesn't display all lines


From: Juergen Sauermann
Subject: Re: [Bug-apl] Trace doesn't display all lines
Date: Fri, 20 Jun 2014 17:02:09 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Blake,

thanks, fixed in SVN 334.

In GNU APL, pure comment lines without statements do not go into
the function body and can therefore not be traced.

/// Jürgen


On 06/20/2014 06:08 AM, Blake McBride wrote:
I have to add, this problem with trace renders the trace facility very significantly crippled.  For example, I am trying to debug a function I am having trouble with.  Since so many lines contain branches or calls to functions that don't return values, I have no idea what is going on.

Thanks.

Blake



On Thu, Jun 19, 2014 at 11:04 PM, Blake McBride <address@hidden> wrote:
I checked, GNU APL also doesn't print branch lines.  IBM APL shows:

test[4] →2

in the trace (if it branched to line 2).

Thanks.

Blake



On Thu, Jun 19, 2014 at 10:57 PM, Blake McBride <address@hidden> wrote:
Trace should show that it executed each line even if that line doesn't produce a value.  i.e.

GNU APL:

      ∇test[⎕]∇
    ∇
[0]   test
[1]  ⍝ a comment
[2]   test2
[3]   x←4
    ∇
      ∇test2[⎕]∇
    ∇
[0]   test2
    ∇
      T∆test←⍳3
      test
test[3] 4



IBM APL 2:

      ∇TEST[⎕]∇
    ∇
[0]   TEST
[1]  ⍝ A COMMENT
[2]   TEST2
[3]   X←4
    ∇
      ∇TEST2[⎕]∇
    ∇
[0]   TEST2
    ∇
      T∆TEST←⍳3
      TEST
TEST[1]
TEST[2]
TEST[3] 4


Thanks.

Blake





reply via email to

[Prev in Thread] Current Thread [Next in Thread]