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.
3 次查看(过去 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.
0 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!