20 |
* Printing options:: |
* Printing options:: |
21 |
* Debugger options:: |
* Debugger options:: |
22 |
* Evaluator options:: |
* Evaluator options:: |
23 |
|
* Evaluator trap options:: |
24 |
* Examples of option use:: |
* Examples of option use:: |
25 |
* Install Config:: Installation and configuration data. |
* Install Config:: Installation and configuration data. |
26 |
@end menu |
@end menu |
162 |
stack 22000 Size of thread stacks (in machine words). |
stack 22000 Size of thread stacks (in machine words). |
163 |
@end smallexample |
@end smallexample |
164 |
|
|
165 |
|
@node Evaluator trap options |
166 |
|
@section Evaluator trap options |
167 |
|
[FIXME: These flags, together with their corresponding handlers, are not |
168 |
|
user level options. Probably this entire section should be moved to the |
169 |
|
documentation about the low-level programmer debugging interface.] |
170 |
|
|
171 |
Here is the list of evaluator trap options generated by typing |
Here is the list of evaluator trap options generated by typing |
172 |
@code{(traps 'full)} in Guile. You can also see the default values. |
@code{(traps 'full)} in Guile. You can also see the default values. |
173 |
|
|
175 |
exit-frame no Trap when exiting eval or apply. |
exit-frame no Trap when exiting eval or apply. |
176 |
apply-frame no Trap when entering apply. |
apply-frame no Trap when entering apply. |
177 |
enter-frame no Trap when eval enters new frame. |
enter-frame no Trap when eval enters new frame. |
178 |
|
traps yes Enable evaluator traps. |
179 |
@end smallexample |
@end smallexample |
180 |
|
|
181 |
|
@deffn apply-frame-handler key cont tailp |
182 |
|
Called when a procedure is being applied. |
183 |
|
|
184 |
|
Called if: |
185 |
|
|
186 |
|
@itemize @bullet |
187 |
|
@item |
188 |
|
evaluator traps are enabled [traps interface], and |
189 |
|
@item |
190 |
|
either |
191 |
|
@itemize @minus |
192 |
|
@item |
193 |
|
@code{apply-frame} is enabled [traps interface], or |
194 |
|
@item |
195 |
|
trace mode is on [debug-options interface], and the procedure being |
196 |
|
called has the trace property enabled. |
197 |
|
@end itemize |
198 |
|
@end itemize |
199 |
|
|
200 |
|
If cheap traps are enabled [debug-options interface], @var{cont} is a |
201 |
|
debug object, otherwise it is a restartable continuation. |
202 |
|
|
203 |
|
@var{tailp} is true if this is a tail call |
204 |
|
@end deffn |
205 |
|
|
206 |
|
@deffn exit-frame-handler key cont retval |
207 |
|
Called when a value is returned from a procedure. |
208 |
|
|
209 |
|
Called if: |
210 |
|
|
211 |
|
@itemize @bullet |
212 |
|
@item |
213 |
|
evaluator traps are enabled [traps interface], and |
214 |
|
@item |
215 |
|
either |
216 |
|
@itemize @minus |
217 |
|
@item |
218 |
|
@code{exit-frame} is enabled [traps interface], or |
219 |
|
@item |
220 |
|
trace mode is on [debug-options interface], and the procedure being |
221 |
|
called has the trace property enabled. |
222 |
|
@end itemize |
223 |
|
@end itemize |
224 |
|
|
225 |
|
If cheap traps are enabled [debug-options interface], @var{cont} is a |
226 |
|
debug object, otherwise it is a restartable continuation. |
227 |
|
|
228 |
|
@var{retval} is the return value. |
229 |
|
@end deffn |
230 |
|
|
231 |
@node Debugger options |
@node Debugger options |
232 |
@section Debugger options |
@section Debugger options |
389 |
@end deffn |
@end deffn |
390 |
|
|
391 |
@defvar %load-path |
@defvar %load-path |
392 |
Return the list of directories which should be searched for Scheme |
List of directories which should be searched for Scheme |
393 |
modules and libraries. |
modules and libraries. |
394 |
@end defvar |
@end defvar |
395 |
|
|