How to debug test discovery error

In the MATLAB Test Browser, when an error occurs during test discovery (for example while creating test parameters or peforming test class setup), I don't know how to effectively debug the error or reproduce it in a controlled environment. It just gives me the message and no context, no location or stack info. Adding a breakpoint in the setup code does not help. It does not pause there.
How can I get more information on the error that occurs during test discovery?
This is really frustrating to debug at the moment.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Results, Reporting, and Test File Management에 대해 자세히 알아보기

제품

릴리스

R2025a

질문:

2026년 5월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by