#include <kernwin.hpp> // For get_screen_ea() definition
#include <dbg.hpp>
// Add a software breakpoint at the cursor position
if (add_bpt(get_screen_ea(), 0, BPT_SOFT))
msg("Successfully set software breakpoint at %a\n", get_screen_ea());







