Skip to content

Console

The Console is the display monitor of all output messages referring to your application. Any information, warning, error and result will be displayed there, in its relative Tab depending on the type of the message.

Tip

If your console is hidden, click Debug Console on the Taskbar (or press Ctrl + J).

You can hide it again from the same button, or with the x at the right of the tabs.

The Console, with the Build, Validation, Documentation, Symbols and Application Logs tabs

Output

All messages appear icons which imply if it is an Error Message, Warning Message or just an Info Message.

Icon Type
A red circle with a cross Error
A yellow triangle with an exclamation mark Warning
A blue circle with an i Message (Info)

You can control your output with these options:

The Validation tab of the Console, with the counters and the columns

Tab Description
Build The Build Tab shows all messages and results with regard to a Build Process: progress, warnings, build/db-syncrhonization/deployment results
Validation The Validation tabs shows all the Validation Warnings and/or Errors found during a Validation process (either local, within a Model, or a global one where all Application Models are validated)
Symbols This tab presents the Result of a Find Usages search (e.g. when you click Find Usages on a Class or one of its Attributes)
Documentation Shows the documentation for the item you are working on
Refresh Results This tabs shows the actions taken while your form was being refreshed (e.g. an Attribute was automatically removed from your Model after a Refresh action)
Debugger Shows the results of debugging (the Debug button on the Taskbar)
Application Logs Shows the logs of your running application. See Application Logs
Global Search Shows the results of the Global Search

At the top right of the Console, three counters show the number of Errors, Warnings and Messages. In the Validation tab, the columns are the Description, the Location (the model, the operation and the line), the Type (for example Class, Operation or Controller Action) and the Model that holds the problem. In the image above, validation found that a class keyed by a string cannot have an auto-assigned key.

If you double-click on an Error or Warning line under a line concerning a Model within your Application, you will be taken to the position displayed.

This usually is the case for the following items:

  • Validation: will take you to the exact code part, control or configuration that throwed the validation Error or Warning
  • Symbols: will take you to the exact part of the selected Model where the searched Class/Attribute/etc. was detected

Now, in the case of a Build, a double-click on an Error or a Warning concerning the generated code, will open the file in the Solution Explorer, where you can view the exact line (and the rest of the code) that was found erroneous:

Application Logs

Anything your application logs, automatically or through a command such as DebugLib.Logger.WriteInfoLine("Successfully saved the Product");, is available in the Application Logs tab (shortcut Alt + 1). Each entry shows a Timestamp, a Location and a Message.

At the top right of the tab you can:

  • Choose which Application Log you wish to see, and the day to show (for example Today).
  • Refresh Logs, to see new messages.
  • Download Logs.

See DebugLib for writing your own log messages.