[Openmcl-devel] STEP function

Terje Norderhaug terje at in-progress.com
Fri Jan 15 12:47:57 PST 2010


On Jan 12, 2010, at 8:21 AM, Adlai Chandrasekhar wrote:
> On Tue, 12 Jan 2010, Alexander Repenning wrote:
>> On Jan 11, 2010, at 7:27 AM, Gail Zacharias wrote:
>> I think a great starting point would be to add a "show source"  
>> button to the alternate console which would be enabled in case of  
>> an error. That button would open the source file and place the  
>> cursor to the
>> code in question. Very handy...
>
> SLIME already has this -- when you're in an SLDB buffer and the cursor
> is on a stack frame, pressing ‘v’ does exactly what you described. I'm
> not familiar with the CCL IDE, but it shouldn't be too hard to adapt
> SLIME's code. The relevant function is ‘sldb-show-frame-source’ in
> slime.el


It brings up the definition for the frame, but it would be useful to  
get the cursor to the specific position in the source were the error/ 
break "happened".

-- Terje Norderhaug
   terje at in-progress.com







More information about the Openmcl-devel mailing list