Why does Matlab debugger stopped at PubSubTabularDataStore.dispIfError in the new desktop
9 次查看(过去 30 天)
显示 更早的评论
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
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
2024-11-13,6:35
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!