unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: bug#68895: `guix repl` breaks Guile REPL features
       [not found] ` <87zfk6h1wx.fsf@gmail.com>
@ 2025-01-08 15:21   ` Suhail Singh
  2025-01-08 15:25     ` bug#68895: Difference between trace behavior in guix repl and guile Suhail Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Suhail Singh @ 2025-01-08 15:21 UTC (permalink / raw)
  To: 45mg; +Cc: Adriel Dumas--Jondeau, 68895, Guix-devel mailing list

45mg <45mg.writes@gmail.com> writes:

> It looks like this isn't the only REPL command that doesn't work in
> `guix repl`. I haven't done anything close to a full investigation (I am
> new to using Guile!), but many other commands simply don't work.

Thank you for your investigation.  I am cc-ing guix-devel in case they
have insight regarding these.

-- 
Suhail


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

* Re: bug#68895: Difference between trace behavior in guix repl and guile
  2025-01-08 15:21   ` bug#68895: `guix repl` breaks Guile REPL features Suhail Singh
@ 2025-01-08 15:25     ` Suhail Singh
  2025-01-21 14:15       ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Suhail Singh @ 2025-01-08 15:25 UTC (permalink / raw)
  To: Suhail Singh; +Cc: 45mg, Guix-devel mailing list, 68895, Adriel Dumas--Jondeau

Suhail Singh <suhailsingh247@gmail.com> writes:

>> It looks like this isn't the only REPL command that doesn't work in
>> `guix repl`. I haven't done anything close to a full investigation (I am
>> new to using Guile!), but many other commands simply don't work.
>
> Thank you for your investigation.  I am cc-ing guix-devel in case they
> have insight regarding these.

Whoops, sent too quickly.  Current (probably inexhaustive) list:

- trace
- tracepoint
- break

-- 
Suhail


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

* Re: bug#68895: Difference between trace behavior in guix repl and guile
  2025-01-08 15:25     ` bug#68895: Difference between trace behavior in guix repl and guile Suhail Singh
@ 2025-01-21 14:15       ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2025-01-21 14:15 UTC (permalink / raw)
  To: Suhail Singh; +Cc: Guix-devel mailing list, 45mg, 68895, Adriel Dumas--Jondeau

Hello,

Suhail Singh <suhailsingh247@gmail.com> writes:

> Suhail Singh <suhailsingh247@gmail.com> writes:
>
>>> It looks like this isn't the only REPL command that doesn't work in
>>> `guix repl`. I haven't done anything close to a full investigation (I am
>>> new to using Guile!), but many other commands simply don't work.
>>
>> Thank you for your investigation.  I am cc-ing guix-devel in case they
>> have insight regarding these.
>
> Whoops, sent too quickly.  Current (probably inexhaustive) list:
>
> - trace
> - tracepoint
> - break

Perhaps Guix configures Guile to use the no-debug VM even for the REPL?
Se the '--no-debug' documentation in info '(guile) Command-line
Options':

   ‘--debug’
        Start with the debugging virtual machine (VM) engine.  Using the
        debugging VM will enable support for VM hooks, which are needed for
        tracing, breakpoints, and accurate call counts when profiling.  The
        debugging VM is slower than the regular VM, though, by about ten
        percent.  *Note VM Hooks::, for more information.

        By default, the debugging VM engine is only used when entering an
        interactive session.  When executing a script with ‘-s’ or ‘-c’,
        the normal, faster VM is used by default.

Indeed, if you look at the shebang of scripts/guix.in, which is the
template for the 'guix' entry point script, it uses the '-s' argument.

I'm not sure if there's a way to enable the debug VM after Guile was
started in the equivalent of --no-debug.

-- 
Thanks,
Maxim


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

end of thread, other threads:[~2025-01-21 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8734uaq1cb.fsf@disroot.org>
     [not found] ` <87zfk6h1wx.fsf@gmail.com>
2025-01-08 15:21   ` bug#68895: `guix repl` breaks Guile REPL features Suhail Singh
2025-01-08 15:25     ` bug#68895: Difference between trace behavior in guix repl and guile Suhail Singh
2025-01-21 14:15       ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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