필터 지우기
필터 지우기

Debugging app designer on error

조회 수: 10 (최근 30일)
Paul Buckland
Paul Buckland 2019년 8월 15일
답변: Christian Tieber 2020년 7월 22일
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?
  댓글 수: 1
Paul Buckland
Paul Buckland 2019년 8월 15일
Just to clarify, here are the workspaces I can choose, and also the workspace for tryCallback.
Workspaces.png
Workspace.png
None of the other workspaces in the list give me any of the local variables. And the app designer doesn't give variable information on mouse-over either.

댓글을 달려면 로그인하십시오.

답변 (2개)

Vilnis Stumbris
Vilnis Stumbris 2019년 10월 17일
편집: Vilnis Stumbris 2019년 10월 17일

Christian Tieber
Christian Tieber 2020년 7월 22일
Use
dbstop if caught error

카테고리

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