Re: Guile hacking -- accessing backtrace environment frames?

2000-11-02 Thread Derek Atkins
Rob Browning [EMAIL PROTECTED] writes: Derek Atkins [EMAIL PROTECTED] writes: OK, without me actually testing anything, just poking around, how about the "Debugger options" section of the guile info pages? Does that help? I see there's a way to turn on backtracing on error. I think we

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-02 Thread Derek Atkins
Dave Peticolas [EMAIL PROTECTED] writes: Right. I just checked in some changes to src/guile/gnucash.c.in that makes running as a shell easier. Now, gnucash loads the same startup files regardless of whether it's running as a shell or not. The only difference is whether it invokes gnc:main or

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-02 Thread Dave Peticolas
Derek Atkins writes: Dave Peticolas [EMAIL PROTECTED] writes: Right. I just checked in some changes to src/guile/gnucash.c.in that makes running as a shell easier. Now, gnucash loads the same startup files regardless of whether it's running as a shell or not. The only difference is

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-02 Thread Rob Browning
Dave Peticolas [EMAIL PROTECTED] writes: Right. I just checked in some changes to src/guile/gnucash.c.in that makes running as a shell easier. Now, gnucash loads the same startup files regardless of whether it's running as a shell or not. The only difference is whether it invokes gnc:main or

Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Derek Atkins
Hi, I'm trying to debug some scheme code, but I don't know guile very well. I've got a backtrace to the problematical code, but I'd like to get into that environment so that I can examine various symbols and see their values. I can't seem to find any useful guile documentation, in particular

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Rob Browning
Derek Atkins [EMAIL PROTECTED] writes: Ok, I did find the most recent info pages, which I grabbed from CVS.. But they still are useless. Wow. I hadn't actually looked at them on that topic. Pretty "sparse", no doubt... -- Rob Browning [EMAIL PROTECTED] PGP=E80E0D04F521A094

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Derek Atkins
Rob Browning [EMAIL PROTECTED] writes: Derek Atkins [EMAIL PROTECTED] writes: Ok, I did find the most recent info pages, which I grabbed from CVS.. But they still are useless. Wow. I hadn't actually looked at them on that topic. Pretty "sparse", no doubt... To say the least... I

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Rob Browning
Derek Atkins [EMAIL PROTECTED] writes: I'm trying to debug some scheme code, but I don't know guile very well. I've got a backtrace to the problematical code, but I'd like to get into that environment so that I can examine various symbols and see their values. I can't seem to find any

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Dave Peticolas
Rob Browning writes: Derek Atkins [EMAIL PROTECTED] writes: To say the least... I can certainly use the "debug-via-printf" debugging method, but I would definitely prefer to have step, trace, and frame level access to debug. I'd certainly appreciate any input anyone has for me?

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Derek Atkins
Ok, I did find the most recent info pages, which I grabbed from CVS.. But they still are useless. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Derek Atkins
Rob Browning [EMAIL PROTECTED] writes: There is a debugger, but to tell you the truth, I've never used it. I usually just cram in some display statements and try again : : I know, I could do that. But I hate debugging that way; it's much slower than examining information. Check the info

Re: Guile hacking -- accessing backtrace environment frames?

2000-11-01 Thread Rob Browning
Derek Atkins [EMAIL PROTECTED] writes: To say the least... I can certainly use the "debug-via-printf" debugging method, but I would definitely prefer to have step, trace, and frame level access to debug. I'd certainly appreciate any input anyone has for me? OK, without me actually