RedComet explains it best:
A 'soft debugger' system that automatically logs program execution
and memory breakpoints to files, requiring less user intervention.

Stef wrote the original code for Gens 2.12a.
This has merely been modified for translation specialists.

Other changes like FCEUltra style cheats are included.

You also have the ability to dump memory like RAM, VRAM and nametables. Or CD memory.
Or toggle graphics layers.

For Sega CD battery RAM files, make sure your chosen folder exists and is created.

Sega CD save states / DDraw changes from Gens 2.14 now included!
Wait until the CD BIOS boots before using states. Thank you DarkDancer!

ATTENTION!
- Memory access to BRAM from the M68K is now disabled. Fixes Shadowrun.
  If this causes a problem, please fix it in your build.

Sega CD logging and tracing are now feasible!

As of this release, these authors do not intend to update.


To use:
gens.exe

hook_log.txt must be kept with the executable.
hook_log_cd.txt must be kept with the executable.

'Cheats' folder stores your FCEU cheats files.
- If you had cheats enabled, it will auto-activate when the game is re-loaded.
- Bare Knuckle 3 (J) example included.


Emulator keys:
- 1  = view cheats list
- 2  = add cheat
- 3  = toggle cheats (on / off)

- 4  = toggle plane A visibility
- 5  = toggle plane B visibility
- 6  = toggle sprite visibility

- TAB  = speed toggle (normal / fast)
- INS  = step frame advance
- HOME = normal frame advance

- '/' = toggles instruction logging to 'trace.log'
- '.' = dumps RAM, SRAM, NT, VRAM
- ',' = toggles memory logging to 'hook.txt' (set by 'hook_log.txt')


Memory logging:
Tracks memory changes between a reference range set by 'low' and 'high'.
Also monitors VRAM and VDP registers.

hook_log.txt has more information.
This assumes that you have some understanding of the target platform.


Memory logging tip:
- Hit '/' or ',' several times to turn it on and off. It will leave a
  'TRACE STOPPED' message. This can be useful to isolate parts of
  program code in context to the game.

- Setting 'hook_pc* 1 <start address> -1' will blindly log all instructions
  when it first reaches the start address. Turning off memory logging will stop.

  Can be done to understand difficult compression routines or troubleshooting
  gremlin bugs in code routines.

- You can enable logging before the game starts.

- Enable step frame. Load your save state. Start tracing a few frames for finicky
  problems. Smaller log files.