Run debug mode without gui

14 ビュー (過去 30 日間)
Andrew
Andrew 2015 年 9 月 14 日
回答済み: Mateo Terselich 2021 年 6 月 18 日
Hello everybody.
I am trying to run the matlab debugger without a gui. I know all of the command line commands such as dbstop, dbcont, dbstep, etc, but I was wondering if it was possible to tell the debugger to not try to access the gui when it hits a breakpoint (ie don't try to open an editor window). The reason I ask this is because I am frequently using matlab without the desktop over ssh on a linux cluster and whenever I try to debug something it throws a ton of java exceptions at me about not being able to find the gui... This doesn't really affect the debugger, as all my current variables are still there and I can step/move around/do whatever I would normally do, but it is quite annoying and it makes it difficult to find the output to the cmd line that tells you what breakpoint you are at in the code.
Thanks for your help!

回答 (1 件)

Mateo Terselich
Mateo Terselich 2021 年 6 月 18 日
Hi Andrew,
You can open matlab with -nojvm flag that would have no GUI at all. you can use comands as dbstatus to know where are placed breakpoints and dbclear to remove the breakpoints.

カテゴリ

Help Center および File ExchangeDebugging and Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by