Delphi coding hints and tips.
Enabling CPU window / Disassembly view in Delphi v3
Delphi 3 comes with a disassembly built in although by default this does not appear on any menu. To activate it you must add the following windows registry key using Regedit.exe:-
HKEY_CURRENT_USER\Software\ Borland\Delphi\3.0\Debugging\EnableCPU="1"
EnableCPU is a string type and setting it to "1" or "0" will switch on/off the CPU Window menu option in the View menu. Set a breakpoint in you source and run it. Once you hit the break point select View | CPU Window from Delphi menu. Now you should see a complete disassembly of you code with the ability to step through it using F7/F8. Try right clicking mouse and playing with the various menu options within each pane.


