MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / debug_exception

Function debug_exception

src/debug.cpp:8111–8128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8109}
8110
8111void debug_exception(int nr)
8112{
8113 if (debug_illegal) {
8114 if (nr <= 63 && (debug_illegal_mask & ((uae_u64)1 << nr))) {
8115 console_out_f(_T("Exception %d breakpoint\n"), nr);
8116 debug_vpos = -1;
8117 debug_hpos = -1;
8118 debug_cycles(2);
8119 internal_debug();
8120 }
8121 }
8122 if (trace_param[0] == 0xffffffff && trace_mode == TRACE_SKIP_INS) {
8123 debug_vpos = -1;
8124 debug_hpos = -1;
8125 debug_cycles(2);
8126 internal_debug();
8127 }
8128}
8129
8130static bool check_breakpoint(struct breakpoint_node *bpn, uaecptr pc)
8131{

Callers 1

ExceptionXFunction · 0.85

Calls 3

debug_cyclesFunction · 0.85
internal_debugFunction · 0.85
console_out_fFunction · 0.50

Tested by

no test coverage detected