* bug#26027: (system vm trace) creates no output
[not found] <1682009727.1324219.1488992518603.ref@mail.yahoo.com>
@ 2017-03-08 17:01 ` Mike Gran
2017-04-19 15:07 ` Andy Wingo
2020-12-25 14:45 ` Tim Van den Langenbergh
0 siblings, 2 replies; 3+ messages in thread
From: Mike Gran @ 2017-03-08 17:01 UTC (permalink / raw)
To: 26027
Hi-
I created the following file, which I ran under guile-2.0 and master.
There is no tracing output. What am I misunderstanding?
(use-modules
(system vm trace))
(define (write-hi)
(write "hi"))
(define (outer)
(write-hi))
(trace-calls-to-procedure write-hi)
(trace-calls-in-procedure write-hi)
(trace-instructions-in-procedure write-hi)
(outer)
Thanks,
Mike Gran
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#26027: (system vm trace) creates no output
2017-03-08 17:01 ` bug#26027: (system vm trace) creates no output Mike Gran
@ 2017-04-19 15:07 ` Andy Wingo
2020-12-25 14:45 ` Tim Van den Langenbergh
1 sibling, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2017-04-19 15:07 UTC (permalink / raw)
To: Mike Gran; +Cc: 26027
On Wed 08 Mar 2017 18:01, Mike Gran <spk121@yahoo.com> writes:
> Hi-
> I created the following file, which I ran under guile-2.0 and master.
> There is no tracing output. What am I misunderstanding?
> (use-modules
> (system vm trace))
>
> (define (write-hi)
> (write "hi"))
>
> (define (outer)
> (write-hi))
>
> (trace-calls-to-procedure write-hi)
> (trace-calls-in-procedure write-hi)
> (trace-instructions-in-procedure write-hi)
> (outer)
Weird. From an initial glance I don't know why this isn't working.
Irritating!
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#26027: (system vm trace) creates no output
2017-03-08 17:01 ` bug#26027: (system vm trace) creates no output Mike Gran
2017-04-19 15:07 ` Andy Wingo
@ 2020-12-25 14:45 ` Tim Van den Langenbergh
1 sibling, 0 replies; 3+ messages in thread
From: Tim Van den Langenbergh @ 2020-12-25 14:45 UTC (permalink / raw)
To: 26027
[-- Attachment #1.1.1: Type: text/plain, Size: 195 bytes --]
The various trace commands create VM traps that you have to install to
the thread-local trap state. See API Reference/Debugging/Traps/Trap
States in the manual.
-Tim Van den Langenbergh
[-- Attachment #1.1.2: OpenPGP_0xF50AF328D9D1E635.asc --]
[-- Type: application/pgp-keys, Size: 3963 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-25 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1682009727.1324219.1488992518603.ref@mail.yahoo.com>
2017-03-08 17:01 ` bug#26027: (system vm trace) creates no output Mike Gran
2017-04-19 15:07 ` Andy Wingo
2020-12-25 14:45 ` Tim Van den Langenbergh
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).