Filter löschen
Filter löschen

Debugging app designer on error

10 Ansichten (letzte 30 Tage)
Paul Buckland
Paul Buckland am 15 Aug. 2019
Beantwortet: Christian Tieber am 22 Jul. 2020
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 Kommentar
Paul Buckland
Paul Buckland am 15 Aug. 2019
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.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Vilnis Stumbris
Vilnis Stumbris am 17 Okt. 2019
Bearbeitet: Vilnis Stumbris am 17 Okt. 2019

Christian Tieber
Christian Tieber am 22 Jul. 2020
Use
dbstop if caught error

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by