[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PLEASE: debugging embedded guile code
From: |
Neil Jerram |
Subject: |
Re: PLEASE: debugging embedded guile code |
Date: |
26 Apr 2003 20:12:54 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Bruce" == Bruce Korb <address@hidden> writes:
>> One thing I'm not sure I understand is why you want (or perhaps need)
>> to do this lazy-catch in C rather than in Scheme, since it would be
>> much easier in Scheme. Can you explain?
Bruce> The need is to be able to point our clients to problems in the
Bruce> Scheme code. We (or, at least, I) know where in our client's
Bruce> input we are when we hand a string off to Guile for evaluation.
Bruce> I'd like to be able to tell Guile what the current file name
Bruce> and line number so that when it emits an error message, Guile
Bruce> can refer to our client's source file. As it is, I have to
Bruce> set an atexit routine. All it is able to tell is that Guile
Bruce> called exit(3C) and it must now emit a generic "this is where
Bruce> we were when Guile called exit" message:
Now you've really lost me, I'm afraid. Why don't you use a catch,
either in Scheme or in C, to catch the error?
Neil
- Re: PLEASE: debugging embedded guile code, Neil Jerram, 2003/04/26
- Re: PLEASE: debugging embedded guile code, Neil Jerram, 2003/04/26
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/04/26
- Re: PLEASE: debugging embedded guile code,
Neil Jerram <=
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/04/26
- Re: PLEASE: debugging embedded guile code, Thien-Thi Nguyen, 2003/04/26
- Re: PLEASE: debugging embedded guile code, Neil Jerram, 2003/04/27
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/04/27
- Re: PLEASE: debugging embedded guile code, Paul Jarc, 2003/04/28
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/04/28
- Re: PLEASE: debugging embedded guile code, Neil Jerram, 2003/04/28
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/04/28
- Re: PLEASE: debugging embedded guile code, Neil Jerram, 2003/04/28
Re: PLEASE: debugging embedded guile code, Mikael Djurfeldt, 2003/04/28