Customising the debugger

SDBG can be customised in order to change its look and feel. To access the options, select Options from the Tools menu. The options available are:

Automatically open variables window � When checked the variables window will open automatically when the debugger is entered. When debugging programs with large numbers of variables it can sometimes be better to not open the variables window and just use the data view windows or tooltips. Default is on.

Sort variables window alphabetically � When checked the variables window is sorted into alphabetical order. When not checked the variables are listed in scope order, that is, local variables will be listed first followed by globals. Default is off.

Show PARAMETERs in variables window � When checked PARAMETERs will be shown in the variables window if /FULL_DEBUG is used on the FTN95 command line. When debugging programs with large numbers of parameters (Windows applications in particular) the parameters can clutter up the variables window, obscuring the variables. Default is on.

Only use one source window � With this option turned on the debugger will only use one window for displaying source files. When turned off the debugger will use a new window for each routine in the call stack that is shown. Default is off.

Show Tips at Startup � When checked the debugger will show the 'Tip of the day' window at startup. Default is on.

Debugger is MDI � When checked the debugger windows will be enclosed within a MDI (multi document interface) window. When not checked the windows will appear directly on the desktop. Win16/Win32 only, default is on.

Display bubble help � When checked the toolbar buttons will show tooltips when required. Win16/Win32 only, default is on.

Display variable values in source � When checked popup tooltip help will appear when the mouse cursor is over a variable name. The tooltip help will contain the variable's name and value. Win16/Win32 only, default is on.

Use original colour scheme - Unchecking this will cause future SDBG sessions to default to plainer colour scheme than the original version. This can also be modifed by the user by editing the SDBG.INI file, found in the Windows folder (eg. C:\WINDOWS\SDBG.INI). Settings in the ini file take precedence over the default colours.

The format is:

xxxxWindow-ColourElement=nnnn
Where xxxx is the window type and nnnn is the rgb colour required. The colour can be in hex if prefixed by '0x' and the format is 0xBBGGRR.

The following are the keys recognised:

SourceWindow-Text and SourceWindow-Window
Colour of text/background in a source window

VariablesWindow-Text and VariablesWindow-Window
Colour of text/background in a variables window

VariablesWindow-ProtectedText
Colour of protected members in a struct

VariablesWindow-PrivateText
Colour of private members in a struct

StackWindow-Text and StackWindow-Window
Colour of text/background in a stack window

StackWindow-NoDebugText
Colour of text for routines that do not have debugging information

StackWindow-StatusText
Colour of the status text in the stack window

AsmWindow-Text and AsmWindow-Window
Colour of text/background in an assembler window

FindWindow-Text and FindWindow-Window
Colour of text/background in find routines result window

RegsWindow-Text and RegsWindow-Window
Colour of text/background in a register window

ExpressionWindow-Text and ExpressionWindow-Window
Colour of text/background in an expression window

ExpressionWindow-ProtectedText
Colour of protected members in a struct

ExpressionWindow-PrivateText
Colour of private members in a struct

BreakpointsWindow-Text and BreakpointsWindow-Window
Colour of text/background in the breakpoints window

StreamsWindow-Text and StreamsWindow-Window
Colour of text/background in the streams window

For example and in keeping with the original sdbg strong colours

StackWindow-StatusText=0x0000ff
StackWindow-Text=0x000000
StackWindow-Window=0x00ffff

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited