Debugging app designer on error
显示 更早的评论
Using breakpoints in app designer works great, and I can see the workspace in the command line during debugging.
But how can I get the same debugging functionality with an error occurs in my app designer code? I tried
dbstop if error
but the workspace at the command line is only some high level information about the function the app designer code was in at the time of the error, and not the local variables in the function's workspace.
Maybe I've put the dbstop in the wrong place in the app designer code?
回答(2 个)
Vilnis Stumbris
2019-10-17
编辑:Vilnis Stumbris
2019-10-17
1 个投票
dbstop if caught error
im trying to sort out something like this too. these might help
callback for errors
Christian Tieber
2020-7-22
Use
dbstop if caught error
类别
在 帮助中心 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

