@@ -61,15 +61,15 @@ bool check_for_breakpoints(bool in_placer) {
6161 // goes through the breakpoints vector
6262 t_draw_state* draw_state = get_draw_state_vars ();
6363 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 )
6565 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 )
6767 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 )
6969 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 )
7171 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 )
7373 return check_for_route_net_id_iter_breakpoints (draw_state->list_of_breakpoints [i].bt_route_net_id );
7474 else if (draw_state->list_of_breakpoints [i].type == BT_EXPRESSION && draw_state->list_of_breakpoints [i].active )
7575 return check_for_expression_breakpoints (draw_state->list_of_breakpoints [i].bt_expression , in_placer);
0 commit comments