[plt-scheme] DrScheme Debug button

From: Gregory Cooper (greg at cs.brown.edu)
Date: Tue Sep 13 16:31:41 EDT 2005

Hi,

When you click the Debug button, you should see a small green arrow 
indicating the current expression.  Does this happen?  (It may take a 
while.)  You should also get a toolbar with Pause, Continue, and Step 
buttons.  When the green arrow is visible (indicating that execution is 
paused), the following features should be working:

- If execution is paused at a right paren, the expression and its value 
are shown to the left of the toolbar.

- If you mouse over a lexical variable that is in scope, its name and 
value should appear to the right of the toolbar.  You can also right-click 
(ctrl-click on the Mac) to see/change the value.

- If you mouse over a breakable paren, you can right-click (ctrl-click) to 
set/clear a pause point.

In the toolbar, Step executes until the next breakable location, Continue 
executes until the next pause point, and Pause interrupts execution. 
There are more complex features, such as "continue to this location" (a 
one-time pause point) and the ability to skip expressions/change their 
return values.

Currently, this tool is best used in the (module ...) language, since that 
allows it to determine pausable locations throughout the entire buffer 
instead of one top-level expression at a time.

Let me know if anything fails to work as claimed.

Thanks,
Greg

On Tue, 13 Sep 2005, Prabhakar Ragde wrote:

> I cannot for the life of me figure out how to get this to do anything. I am 
> running 299.200 on a Mac. The manual has one paragraph that talks about 
> right-clicking. I tried all combinations of using option, shift, control, and 
> command, and couldn't find anything useful. Please help. Thanks.
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.