Debugging
Example 5: Debugging Python in MATE
Example 5: Debugging Python files in MATE
Introduction
MeVisLab provides the powerful integrated text editor MATE. By default, MATE is used to create/edit files like Python scripts. In this tutorial, we want to show you how to debug Python scripts in MeVisLab.
Prepare your network
We are using a very simple network of pre-defined modules, but you can also debug your self-written Python scripts. Add a LocalImage
module to your workspace and connect it to a DicomTagBrowser
module. The DicomTagBrowser
module shows a table containing the DICOM tags of your currently opened file.
Chapter VI: Testing
MeVisLab Tutorial Chapter VI
Testing, Profiling and Debugging in MeVisLab
The MeVisLab Integrated Development Environment (IDE) provides tools to write automated tests in Python, profile your network performance and to debug your Python code. All of these funtionalities will be addressed in this chapter.
Testing
The MeVisLab TestCenter is the starting point of your tests. Select [ File → Run TestCaseManager ] to open the user interface of the TestCaseManager.