unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* underscores in debug output?
@ 2017-08-30  3:56 Christopher Howard
  2017-08-30 14:46 ` Alex Vong
  2017-08-31 12:57 ` Matt Wette
  0 siblings, 2 replies; 6+ messages in thread
From: Christopher Howard @ 2017-08-30  3:56 UTC (permalink / raw)
  To: Guile User Mailing List

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: underscores in debug output?
  2017-08-30  3:56 underscores in debug output? Christopher Howard
@ 2017-08-30 14:46 ` Alex Vong
  2017-08-30 15:13   ` Christopher Howard
                     ` (2 more replies)
  2017-08-31 12:57 ` Matt Wette
  1 sibling, 3 replies; 6+ messages in thread
From: Alex Vong @ 2017-08-30 14:46 UTC (permalink / raw)
  To: Christopher Howard; +Cc: Guile User Mailing List

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

Christopher Howard <ch.howard@zoho.com> writes:

> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: underscores in debug output?
  2017-08-30 14:46 ` Alex Vong
@ 2017-08-30 15:13   ` Christopher Howard
  2017-08-30 15:16   ` Christopher Howard
  2017-08-30 15:16   ` Christopher Howard
  2 siblings, 0 replies; 6+ messages in thread
From: Christopher Howard @ 2017-08-30 15:13 UTC (permalink / raw)
  To: guile-user

Ok, okay. Is there some way to affect that? Perhaps I have to use some
debug printing or stop points to see those values?

On Wed, 2017-08-30 at 22:46 +0800, Alex Vong wrote:
> Christopher Howard <ch.howard@zoho.com> writes:
> 
> > 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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: underscores in debug output?
  2017-08-30 14:46 ` Alex Vong
  2017-08-30 15:13   ` Christopher Howard
@ 2017-08-30 15:16   ` Christopher Howard
  2017-08-30 15:16   ` Christopher Howard
  2 siblings, 0 replies; 6+ messages in thread
From: Christopher Howard @ 2017-08-30 15:16 UTC (permalink / raw)
  To: guile-user

Ok, okay. Is there some way to affect that? Perhaps I have to use some
debug printing or stop points to see those values?

On Wed, 2017-08-30 at 22:46 +0800, Alex Vong wrote:
> Christopher Howard <ch.howard@zoho.com> writes:
> 
> > 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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: underscores in debug output?
  2017-08-30 14:46 ` Alex Vong
  2017-08-30 15:13   ` Christopher Howard
  2017-08-30 15:16   ` Christopher Howard
@ 2017-08-30 15:16   ` Christopher Howard
  2 siblings, 0 replies; 6+ messages in thread
From: Christopher Howard @ 2017-08-30 15:16 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

Ok, okay. Is there some way to affect that? Perhaps I have to use some
debug printing or stop points to see those values?

On Wed, 2017-08-30 at 22:46 +0800, Alex Vong wrote:
> Christopher Howard <ch.howard@zoho.com> writes:
> 
> > 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/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: underscores in debug output?
  2017-08-30  3:56 underscores in debug output? Christopher Howard
  2017-08-30 14:46 ` Alex Vong
@ 2017-08-31 12:57 ` Matt Wette
  1 sibling, 0 replies; 6+ messages in thread
From: Matt Wette @ 2017-08-31 12:57 UTC (permalink / raw)
  To: Christopher Howard; +Cc: Guile User Mailing List


> On Aug 29, 2017, at 8:56 PM, Christopher Howard <ch.howard@zoho.com> wrote:
> 
> 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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-31 12:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30  3:56 underscores in debug output? Christopher Howard
2017-08-30 14:46 ` Alex Vong
2017-08-30 15:13   ` Christopher Howard
2017-08-30 15:16   ` Christopher Howard
2017-08-30 15:16   ` Christopher Howard
2017-08-31 12:57 ` Matt Wette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).