@@ -61,15 +61,15 @@ bool check_for_breakpoints(bool in_placer) {
61
61
// goes through the breakpoints vector
62
62
t_draw_state* draw_state = get_draw_state_vars ();
63
63
for (size_t i = 0 ; i < draw_state->list_of_breakpoints .size (); i++) {
64
- if (draw_state->list_of_breakpoints [i].type == BT_MOVE_NUM && draw_state->list_of_breakpoints [i].active )
64
+ if (draw_state->list_of_breakpoints [i].type == BT_MOVE_NUM && draw_state->list_of_breakpoints [i].active && in_placer )
65
65
return check_for_moves_breakpoints (draw_state->list_of_breakpoints [i].bt_moves );
66
- else if (draw_state->list_of_breakpoints [i].type == BT_FROM_BLOCK && draw_state->list_of_breakpoints [i].active )
66
+ else if (draw_state->list_of_breakpoints [i].type == BT_FROM_BLOCK && draw_state->list_of_breakpoints [i].active && in_placer )
67
67
return check_for_block_breakpoints (draw_state->list_of_breakpoints [i].bt_from_block );
68
- else if (draw_state->list_of_breakpoints [i].type == BT_TEMP_NUM && draw_state->list_of_breakpoints [i].active )
68
+ else if (draw_state->list_of_breakpoints [i].type == BT_TEMP_NUM && draw_state->list_of_breakpoints [i].active && in_placer )
69
69
return check_for_temperature_breakpoints (draw_state->list_of_breakpoints [i].bt_temps );
70
- else if (draw_state->list_of_breakpoints [i].type == BT_ROUTER_ITER && draw_state->list_of_breakpoints [i].active )
70
+ else if (draw_state->list_of_breakpoints [i].type == BT_ROUTER_ITER && draw_state->list_of_breakpoints [i].active && !in_placer )
71
71
return check_for_router_iter_breakpoints (draw_state->list_of_breakpoints [i].bt_router_iter );
72
- else if (draw_state->list_of_breakpoints [i].type == BT_ROUTE_NET_ID && draw_state->list_of_breakpoints [i].active )
72
+ else if (draw_state->list_of_breakpoints [i].type == BT_ROUTE_NET_ID && draw_state->list_of_breakpoints [i].active && !in_placer )
73
73
return check_for_route_net_id_iter_breakpoints (draw_state->list_of_breakpoints [i].bt_route_net_id );
74
74
else if (draw_state->list_of_breakpoints [i].type == BT_EXPRESSION && draw_state->list_of_breakpoints [i].active )
75
75
return check_for_expression_breakpoints (draw_state->list_of_breakpoints [i].bt_expression , in_placer);
0 commit comments