Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - use the hook command to execute a command when a defined event occurs. the http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Use the Hook command to execute a command when a defined event occurs.  The
format of the Hook command is:


     HOok <event> <command>

<event> can be any of the following:

PROGStart
    a program is loaded

PROGEnd
    a program terminates

DLLStart
    a DLL is loaded

DLLEnd
    a DLL is unloaded

EXECStart
    program execution is beginning

EXECEnd
    program execution is stopped

Sourceinfo
    the current location being examined has debugging information

Assemblyinfo
    the current location being examined has no debugging information

Modulechange
    the current location being examined has changed modules

This example causes the locals and source window to come to the front
whenever a region with symbolic debugging information is entered:


     hook sourceinfo {display locals; display source}

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson