When you are at a break-point, is there an equivalent of "up" and "down" in gdb so you can navigate through call stack and access variable values out of current scope.

조회 수: 1 (최근 30일)
When you are at a breakpoint, is there a MATLAB equivalence of "up" and "down" in gdb so you can navigate through call stack and access variable values out of the current scope.

채택된 답변

Steven Lord
Steven Lord 2017년 7월 31일
Yes. In the list of debugging commands see dbup and dbdown. There is also a drop-down in the Debug section of the Editor tab of the Toolstrip that lets you jump to a specific workspace, in case the stack contains many function call workspaces.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by