#include <kernwin.hpp> // For get_screen_ea() definition #include <dbg.hpp> // Suspend the currently executing process. suspend_process(); // Continue execution from the user's cursor position. ea_t addr = get_screen_ea(); char *regname = "EIP"; if (set_reg_val(regname, addr)) { msg("Continuing execution from %a\n", addr); continue_process(); }