1. A method comprising: receiving a command that specifies a debug compile option and requests a compile of a module into object code; if the debug compile option specifies a first debug compile option, inserting snapshot instructions immediately prior to each machine instruction in the object code at which a breakpoint was previously set; and if the debug compile option specifies the first debug compile option, inserting the snapshot instructions immediately prior to each machine instruction in the object code that implements a control flow statement.