The Curl Debugger, SCC and the Curl IDE

If you find yourself with a Curl book you may get the impression that the Curl IDE has a debugger. In fact a few versions back the debugger was intergated into the IDE.

This may not be evident unless you use the View menu and select the the Debugger Layout.

What still is required to debug applets is to advise the Curl RTE of your intentions. This is done by adding your source files directory to the Curl Control Panel’s Debugger tab by clicking on the Add Location button.

Breakpoints are set by clicking in the left margin of the editor ( a red dot will appear )

One other little clarification: the SCC menu of the IDE and the View choice for SCC Output.
In Curl the SCC stands for Source Code Control, which today is more commonly referred to as SCM or Source Code Management using source code Version Control.

What I cannot explain is why the local graphical class tree is called a Class Browser.

To browse anything, select it and hit F1 whether in the IDE or in your documentation.

Oh, if you wondered what the little drop-down listbox is at the top of the Editor panel: that will be a list of any classes defined in any given source file. We could try to call that a ‘class browser’ but …

It is too bad that the editor does not have smarter pop-ups menus. If you select a right curly brace it is just silly. What you need to know is that hitting CTRL-B when you are within braces will high-light those braces ( in case you are lost in your indents or lack there-of … )

There is an old debug aid available: your can place an

{output “we are at: ” & your-debug-info}

most anywhere a value is not expected. You can see the results in the IDE by opening Output under the View menu or by opening the Console from the Curl Control Panel ( the rollover menu says “Curl RTE” )

One more tip: the Curl Contrl Panel has a button ‘Show Applets’ which permits purging any suspended applets.

Oh… dbl-click selects words but you will notice that Ctrl-arrow and Ctrl-Shift-arrow is only active in the editor and in the ‘live’ code-Snippet examples of the Curl Documentation Viewer.
It may be a quick fix to get it enabled in the documentation text itself.

Leave a Reply

You must be logged in to post a comment.