MeVisLab Web Toolkit Reference
Loading...
Searching...
No Matches
Debugging Features

This MeVisLab Web Toolkit provides some debugging features. More...

Functions

 MLAB.GUI.ApplicationSettings.debugRemoteMessages ()
 Returns true if remote messages are being printed to the debugging console.
 MLAB.Core.Module.showIDE ()
 Shows the MeVisLab IDE on the server for this module.

Detailed Description

This MeVisLab Web Toolkit provides some debugging features.

They can be enabled using the applications arguments (see MLAB.GUI.Application.getArguments()):

  • Debugging of remote messages

    This which means that whenever a message is send or received over the web socket connection, it is printed to the console. The argument to enable this is debugRemoteMessages.

  • Logging of diagnosis message

    If enabled messages from the MeVisLab console are logged to the console. The argument to enable this is diagnosis.

  • Showing the MeVisLab IDE

    It can help to inspect the MeVisLab process that is connected to an MLAB.Core.Module by showing the IDE on the server. This can be done programmatically by calling MLAB.Core.Module.showIDE() for a single module. For example, you could call it through the onclick handler of a button.
    It is also possible to initially show the IDE of all modules when the page has finished loading. Pass the application argument showIDE to enable this.

    The prefix "[WEB]" is prepended to the messages, so that they are not printed again to the console when received from MeVisLab.

Function Documentation

◆ debugRemoteMessages()

MLAB.GUI.ApplicationSettings.debugRemoteMessages ( )

Returns true if remote messages are being printed to the debugging console.

Definition at line 278 of file GUI.py.

◆ showIDE()

MLAB.Core.Module.showIDE ( )

Shows the MeVisLab IDE on the server for this module.

Definition at line 1291 of file Core.py.