# Session Window: VQL, MDL

Once logged in, you can work in the Session Window in any of the following editors/views:

![Session Window View Options](https://2447928882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvXrykqvPLGss8l2Lssay%2Fuploads%2FXuzBJ9chm4UcPVx3sEaG%2FCapture.PNG?alt=media\&token=3112a545-a758-497f-9286-e080b2700bf9)

* **VQL**: edit & run VQL queries
* **MDL**: edit & run MDL statements and scripts

You can switch anytime between these views using the above toolbar buttons or the **View** menu. Changing the view does not delete any existing commands or results in other views; moreover, during script debugging, you can execute commands in other views without stopping the debug process.

You can use the below toolbar buttons to execute your VQL queries/MDL commands/scripts. It is possible to run/step into/pause/stop VQL queries/MDL scripts.

<figure><img src="https://2447928882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvXrykqvPLGss8l2Lssay%2Fuploads%2FNo7ZLejpZHPOBJn4MjhR%2Fimage.png?alt=media&#x26;token=0dcd8ff2-08a3-43e2-93d1-f0f62354d96c" alt=""><figcaption><p>Toolbar buttons for running and controlling execution of VQL and MDL code</p></figcaption></figure>

{% hint style="info" %}
Note that some of the above commands may not be available depending on the type of code being executed and/or if execution times are too short for the user to interact with the buttons during runtime.
{% endhint %}
