Why does Matlab debugger stopped at PubSubTabu​larDataSto​re.dispIfE​rror in the new desktop

6 ビュー (過去 30 日間)
Jialiang Lu
Jialiang Lu 2024 年 5 月 7 日
回答済み: Aniket 2024 年 11 月 13 日
This is a bug when I'm using the new desktop in the Matlab '24.1.0.2537033 (R2024a)', under Windows 11 23H2.
To reproduce this bug, enable the new desktop, create tables in the workspace, enable the "Pause on Error" option in the Editor tab, and double click any table variable in the workspace to view them in the variable viewer.
Then, the debugger will stop at line 353 of PubSubTabularDataStore.dispIfError:
353 internal.matlab.datatoolsservices.logDebug("datatoolsservices::pubsubdatastore", sprintf("Background Executions Completed Successfully: %s%s\n", func2str(NVPairs.fcn)));
which is called by @(f)internal.matlab.datatoolsservices.messageservice.PubSubTabularDataStore.dispIfError(f,NVPairs)
712 afterEach(f, @(f) internal.matlab.datatoolsservices.messageservice.PubSubTabularDataStore.dispIfError(f, NVPairs), 0, "PassFuture", true);
This has been extremely annoying and I probably have to stop using the new desktop. I have submitted feedback though the feedback button, but I'm not sure when this will be fixed. It would be great if someone can share a temporary solution to stop the debugger from stopping here, e.g. through some settings.
I can provide more details if necessary.
Thank you
  1 件のコメント
Dhruv
Dhruv 2024 年 5 月 20 日
Could you share the MATLAB script that you are using to create the tables?
Somehow, I am not able to reproduce it on my system.

サインインしてコメントする。

回答 (1 件)

Aniket
Aniket 2024 年 11 月 13 日
I am able to reproduce the issue on the version mentioned in question. The error arises due to a typo in the dispIfError function within PubSubTabularDataStore.m, where "NVParis" is mistakenly used instead of "NVPairs." This typo has been corrected in the latest version of MATLAB.
I recommend upgrading to the latest version R2024b to resolve this issue.
I hope this helps!

カテゴリ

Help Center および File ExchangeHelp and Support についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by