#include <kernwin.hpp> // For get_screen_ea() definition #include <dbg.hpp> bpt_t bpt; // If a breakpoint exists at the user's cursor, disable it. if (get_bpt(get_screen_ea(), &bpt)) if (enable_bpt(get_screen_ea(), false)) msg("Disabled breakpoint.\n");