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

2 views (last 30 days)
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 Comment
Dhruv
Dhruv on 20 May 2024
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.

Sign in to comment.

Answers (1)

Aniket
Aniket on 13 Nov 2024
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!

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!