[Openmcl-devel] Customizing the debugger

Alexander Repenning ralex at cs.colorado.edu
Mon Apr 20 15:15:30 UTC 2009


are we talking about the terminal window version? For the IDE/GUI  
version I think one would expect a more sophisticated approach using a  
dialog box (MCL):


On Apr 19, 2009, at 1:44 PM, Leslie P. Polzer wrote:

>
>>> I like the ability of SBCL's debugger interface to select
>>> restart by simply typing their number (and hitting return).
>>
>> [...]
>> Otherwise, see ccl::*default-integer-command*.  It's currently only
>> used to implement integer shortcuts in the inspector, you might want
>> to look at how it does that (in ccl:lib;describe.lisp), and do
>> something similar in ccl::break-loop.
>
> Here's the patch (relative to level-1 against latest svn)
> if you want to include it:
>
> Index: l1-readloop-lds.lisp
> ===================================================================
> --- l1-readloop-lds.lisp        (revision 11958)
> +++ l1-readloop-lds.lisp        (working copy)
> @@ -616,6 +616,7 @@
>          (*signal-printing-errors* nil)
>          (*read-suppress* nil)
>          (*print-readably* nil)
> +         (*default-integer-command* `(:c 0 ,(1- (length (compute- 
> restarts condition)))))
>          (context (new-backtrace-info nil
>                                       frame-pointer
>                                       (if *backtrace-contexts*
>
> I will also implement an option to immediately show the available
> restarts when the break loop is entered.
>
>  Leslie
>
> -- 
> LinkedIn Profile: http://www.linkedin.com/in/polzer
> Xing Profile: https://www.xing.com/profile/LeslieP_Polzer
> Blog: http://blog.viridian-project.de/
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>

Prof. Alexander Repenning

University of Colorado
Computer Science Department
Boulder, CO 80309-430

vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20090420/7d593d43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AgentCubes MCL 5.2ScreenSnapz001.png
Type: image/png
Size: 9825 bytes
Desc: not available
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20090420/7d593d43/attachment.png>


More information about the Openmcl-devel mailing list