forked from mindspore-Ecosystem/mindspore
!6306 Fix bug that required the user to click twice on "Next Node" in MindInsight Debugger UI
Merge pull request !6306 from HarshvardhanGupta/fix-next-node
This commit is contained in:
commit
02c2a61065
|
@ -268,9 +268,8 @@ void Debugger::PostExecuteNode() {
|
||||||
if (!hits.empty()) {
|
if (!hits.empty()) {
|
||||||
SendWatchpointsAndSuspend(hits);
|
SendWatchpointsAndSuspend(hits);
|
||||||
}
|
}
|
||||||
}
|
} else if (run_level_ == "node" && (node_name_ == "" || node_name_ == cur_name_)) {
|
||||||
// if kernel is not watchpoint and is next_to or continue_to node, suspend.
|
// if kernel is not watchpoint and is next_to or continue_to node, suspend
|
||||||
if (run_level_ == "node" && (node_name_ == "" || node_name_ == cur_name_)) {
|
|
||||||
CommandLoop();
|
CommandLoop();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue