Why does Matlab debugger stopped at PubSubTabularDataStore.dispIfError in the new desktop
조회 수: 4 (최근 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일
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에서 Help and Support에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!