unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* debugging
@ 2004-04-13 16:20 Brian S McQueen
  2004-04-14 14:04 ` debugging Linas Vepstas
  0 siblings, 1 reply; 2+ messages in thread
From: Brian S McQueen @ 2004-04-13 16:20 UTC (permalink / raw)


I have been using guile to handle the logic of a project (also to make the
project fun).  Anyway, I needed to do a bit of debugging yesterday, and I
decided to finally try to figure out the guile debugging tools.  I think I
found the right stuff, but I am puzzled by the results.  Near the top of
my guile script I put:

(debug-enable 'backtrace)
(debug-enable 'debug)
(debug-enable 'trace)

This seemed to do nothing.  What am I missing?

I was hoping for a stack dump or syntax error reporting.  For some reason
I get no diagnostic information at all from my embedded scheme
interpreter, but the command line guile has plenty of diagnostic
information.  How do I get this diagnostic information into my embedded
interpreter?

Brian McQueen
NAS Division
NASA/Ames


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


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

* Re: debugging
  2004-04-13 16:20 debugging Brian S McQueen
@ 2004-04-14 14:04 ` Linas Vepstas
  0 siblings, 0 replies; 2+ messages in thread
From: Linas Vepstas @ 2004-04-14 14:04 UTC (permalink / raw)
  Cc: guile-user

On Tue, Apr 13, 2004 at 09:20:08AM -0700, Brian S McQueen was heard to remark:
> I have been using guile to handle the logic of a project (also to make the
> project fun).  Anyway, I needed to do a bit of debugging yesterday, and I
> decided to finally try to figure out the guile debugging tools.  I think I
> found the right stuff, but I am puzzled by the results.  Near the top of
> my guile script I put:
> 
> (debug-enable 'backtrace)
> (debug-enable 'debug)
> (debug-enable 'trace)
> 
> This seemed to do nothing.  What am I missing?

I've got the same problem.  Worse, actually, as things blow up for me 
then and there.  I tried to cut-n-paste the appropriate ice-9 code 
into my app, but wasn't able to conclude much, other than that
there seems to be a bad interaction between debugging and modules...

--linas

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas@linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


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

end of thread, other threads:[~2004-04-14 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13 16:20 debugging Brian S McQueen
2004-04-14 14:04 ` debugging Linas Vepstas

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