I was making one debugging plugin and ended up with this problem in step tracing. My code is as follows :
void idaapi run(int arg)
{
run_to(inf.startIP);
enable_step_trace(true);
if(is_step_trace_enabled() == false)
{
msg("Steping false!!");
}
run_to(inf.startIP + 15);
}
In trace event handler, I am printing the value of EIP register.
However it prints "Steping false". Also the dbg_trace event of notification handler prints the eip values which is of a different library rather than printing it of currently running binary file. Could you help me with the problem ? Why is step tracing not getting enabled ??
Thanks,
Mark







