- } else if (api::get().requests_are_dependent(prev_state->remote_observer_, state->remote_observer_)) {
- if (XBT_LOG_ISENABLED(mc_safety, xbt_log_priority_debug)) {
- XBT_DEBUG("Dependent Transitions:");
- XBT_DEBUG(" %s (state=%d)", prev_state->transition_.textual.c_str(), prev_state->num_);
- XBT_DEBUG(" %s (state=%d)", state->transition_.textual.c_str(), state->num_);
- }
+ } else if (prev_state->get_transition()->depends(state->get_transition())) {
+ XBT_VERB("Dependent Transitions:");
+ XBT_VERB(" %s (state=%ld)", prev_state->get_transition()->to_cstring(), prev_state->num_);
+ XBT_VERB(" %s (state=%ld)", state->get_transition()->to_cstring(), state->num_);