1. A method of instrumenting a software program, having a plurality of locations and an operating state when executed, with at least one probe function adapted to record information on the operating state at a location within the software program, the method comprising modifying the software program to cause a wrapper function to execute, the wrapper function comprising at least one computer-executable instruction that causes the probe function to execute.