unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Mike Gran <spk121@yahoo.com>
Cc: linas@austin.ibm.com
Subject: Re: Debugging embeded scheme
Date: Mon, 5 Apr 2004 09:50:32 -0700 (PDT)	[thread overview]
Message-ID: <20040405165032.56200.qmail@web14307.mail.yahoo.com> (raw)
In-Reply-To: <20040403043128.GE4919@backlot.linas.org>

Hi,

I found this bit of magic.  Haven't had a chance to try it.

This file
http://www.glug.org/docbits/IncorporatingGuileIntoYourCProgram.txt

suggests adding this to your C code

/* debugging voodoo */
SCM_DEVAL_P = 1;
SCM_BACKTRACE_P = 1;
SCM_RECORD_POSITIONS_P = 1;
SCM_RESET_DEBUG_MODE;


--- Linas Vepstas <linas@linas.org> wrote:
> 
> Hi,
>                                                                      
>           
> I'm having a miserable time figuring out how to debug embeded
> scheme/guile.  I just can't figure out how to get meaningful
> debugging info.  Let me explain what the problem is:
>                                                                      


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


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


      parent reply	other threads:[~2004-04-05 16:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-03  4:31 Debugging embeded scheme Linas Vepstas
2004-04-03  5:08 ` Viktor Pavlenko
2004-04-03 16:05   ` Linas Vepstas
2004-04-16 16:43   ` Thien-Thi Nguyen
2004-04-03 23:24 ` Arno Peters
2004-04-05 16:50 ` Mike Gran [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040405165032.56200.qmail@web14307.mail.yahoo.com \
    --to=spk121@yahoo.com \
    --cc=linas@austin.ibm.com \
    --cc=spikegran@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).