I have been looking for the equivalent of the "Run Trace" option of OllyDbg in IDA Pro. Can anyone mention if there is one and how to use it ?

1 Answer 1


IDA Pro offers two tracing options:

  1. Instruction tracing Debugger->Tracing->Instruction Tracing It is very slow tracing process, since IDA monitors registers and has to record the address, the instruction, and changes values of registers, that were changed by the instruction.
  2. Function tracing Debugger->Tracing->Function Tracing. It is a subcategory of instruction tracing, where only function calls are logged.

There are also three types of tracing events: execution traces, write traces, and read/write traces.

A trace in IDA Pro could by replayed by using Trace replayer. It is located within Debuggers submenu. You could switch to Trace-replayer by going to Debugger->Switch Debugger...->Trace replayer

enter image description here

One thing to remember that you have to have trace created before you can replay it. In order to create a trace you will need to do the following:

  1. Set a breakpoint at the point where you want you trace started.
  2. Run the program with the debugger of your choice.
  3. Whenever it breaks, select desired tracing style (Instruction or Function)
  4. Run as far as necessary. You could set a second breakpoint to stop the trace.
  5. You can optionally save the trace.
  6. Replay the trace by switching debugger to Trace replayer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.