Discussion:
underscores in debug output?
Christopher Howard
2017-08-30 03:56:46 UTC
Permalink
Hi, what does the underscore character mean in this debug output?

   159:37  5 (delete ((3 . "c") (((2 . "b") (()) 1) (5 . "e") (()) 1)
2) 2)
   163:49  4 (delete ((2 . "b") (()) 1) _)
    152:9  3 (delete _ _)
    86:11  2 (skew _)
     64:6  1 (horizontal-left-link? _)
    46:11  0 (left-tree _)

Knowing the value of those parameters would be super helpful here, but
for some reason they have been replaced by underscores.
Alex Vong
2017-08-30 14:46:42 UTC
Permalink
Post by Christopher Howard
Hi, what does the underscore character mean in this debug output?
   159:37  5 (delete ((3 . "c") (((2 . "b") (()) 1) (5 . "e") (()) 1)
2) 2)
   163:49  4 (delete ((2 . "b") (()) 1) _)
    152:9  3 (delete _ _)
    86:11  2 (skew _)
     64:6  1 (horizontal-left-link? _)
    46:11  0 (left-tree _)
Knowing the value of those parameters would be super helpful here, but
for some reason they have been replaced by underscores.
My guess would be that those values are being garbage-collected. Since _
is the pattern for matching an arbitary value, it is used to denote a
garbage-collected value.
Christopher Howard
2017-08-30 15:13:48 UTC
Permalink
Ok, okay. Is there some way to affect that? Perhaps I have to use some
debug printing or stop points to see those values?
Post by Alex Vong
Post by Christopher Howard
Hi, what does the underscore character mean in this debug output?
   159:37  5 (delete ((3 . "c") (((2 . "b") (()) 1) (5 . "e") (()) 1)
2) 2)
   163:49  4 (delete ((2 . "b") (()) 1) _)
    152:9  3 (delete _ _)
    86:11  2 (skew _)
     64:6  1 (horizontal-left-link? _)
    46:11  0 (left-tree _)
Knowing the value of those parameters would be super helpful here, but
for some reason they have been replaced by underscores.
My guess would be that those values are being garbage-collected. Since _
is the pattern for matching an arbitary value, it is used to denote a
garbage-collected value.
Christopher Howard
2017-08-30 15:16:05 UTC
Permalink
Ok, okay. Is there some way to affect that? Perhaps I have to use some
debug printing or stop points to see those values?
Post by Alex Vong
Post by Christopher Howard
Hi, what does the underscore character mean in this debug output?
   159:37  5 (delete ((3 . "c") (((2 . "b") (()) 1) (5 . "e") (()) 1)
2) 2)
   163:49  4 (delete ((2 . "b") (()) 1) _)
    152:9  3 (delete _ _)
    86:11  2 (skew _)
     64:6  1 (horizontal-left-link? _)
    46:11  0 (left-tree _)
Knowing the value of those parameters would be super helpful here, but
for some reason they have been replaced by underscores.
My guess would be that those values are being garbage-collected. Since _
is the pattern for matching an arbitary value, it is used to denote a
garbage-collected value.
Christopher Howard
2017-08-30 15:16:24 UTC
Permalink
Ok, okay. Is there some way to affect that? Perhaps I have to use some
debug printing or stop points to see those values?
Post by Alex Vong
Post by Christopher Howard
Hi, what does the underscore character mean in this debug output?
   159:37  5 (delete ((3 . "c") (((2 . "b") (()) 1) (5 . "e") (()) 1)
2) 2)
   163:49  4 (delete ((2 . "b") (()) 1) _)
    152:9  3 (delete _ _)
    86:11  2 (skew _)
     64:6  1 (horizontal-left-link? _)
    46:11  0 (left-tree _)
Knowing the value of those parameters would be super helpful here, but
for some reason they have been replaced by underscores.
My guess would be that those values are being garbage-collected. Since _
is the pattern for matching an arbitary value, it is used to denote a
garbage-collected value.
--
https://qlfiles.net
https://emailselfdefense.fsf.org/en/
Matt Wette
2017-08-31 12:57:15 UTC
Permalink
Post by Christopher Howard
Hi, what does the underscore character mean in this debug output?
159:37 5 (delete ((3 . "c") (((2 . "b") (()) 1) (5 . "e") (()) 1)
2) 2)
163:49 4 (delete ((2 . "b") (()) 1) _)
152:9 3 (delete _ _)
86:11 2 (skew _)
64:6 1 (horizontal-left-link? _)
46:11 0 (left-tree _)
Knowing the value of those parameters would be super helpful here, but
for some reason they have been replaced by underscores.
I'm finding you get more info if you "guild compile -O0 file.scm" your problematic code files prior to debug session.
Loading...