![]() |
![]() |
|
|
![]() |
![]() |
HP/DDE Debugger User's Guide: HP 9000 Series 700/800 Computers > Chapter 6 Customizing the Debugger ![]() Using Startup Command Files |
|
When you invoke the debugger, it executes three startup command files. Startup command files contain commands that define command aliases and commands that customize the debugging environment. The startup files and their order of execution are:
A personal startup file contains debugger commands that you want executed each time you invoke the debugger. To create a personal startup file, create a file called .dderc in either your current working directory or in your $HOME directory. In .dderc, place any commands that you want to execute at debugger startup. When you invoke the debugger, it searches for .dderc in the current working directory. If the debugger does not find .dderc in your current working directory, it then searches your $HOME directory. A personal startup file typically contains commands that:
In addition, you can define a special alias, called `after_debug. This alias can contain commands that you want the debugger to execute after it invokes the target program; for example, `after_debug might set a breakpoint or invoke a command file containing commands specific to the target program. To use `after_debug, define it with an alias command in your personal startup file. For example, the alias command
causes the debugger to set a breakpoint at the first executable statement in the procedure sum and then to execute the go command. The directory /opt/langtools/dde/contrib contains sample startup files that you can use as models for your own .dderc file. (On Solaris systems, the directory is /opt/softbench/dde/dde/contrib.) The file names and contents are:
The following example shows the types of commands that are typically found in an HP/DDE personal startup file.
|
![]() |
||
![]() |
![]() |
![]() |
|||||||||
|