How to Quickly Generate a Debug File


 Product:MicroStation
 Version:V8i, CONNECT, 2023
 Environment:N\A
 Area:DGN
 Subarea:General

Background

A debug file is very useful when investigating configuration issues in MicroStation as it displays the order in which MicroStation processes each configuration variable within each configuration (.cfg) file. The debug file also contains a configuration variable summary at the end of the file. There are a few simple and easy ways to generate a debug file for MicroStation V8i, MicroStation CONNECT Edition, & MicroStation 2023.

Steps to Accomplish for MicroStation V8i

Press: Windows key + R

A Run dialog box should appear. In the Run dialog, type (or paste) the following. Note that a debug file will be generated with or without the quotation marks surrounding the file path.

"C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\ustation.exe" -debug

In MicroStation v8i, the debug file will be saved to C:\Users\<username>\AppData\Local\Temp\msdebug.txt. You can navigate to this location and open the file titled "msdebug.txt". 

Steps to Accomplish for MicroStation CONNECT Edition

Press: Windows key + R

In the Run dialog, type (or paste) the following. Note that a debug file will be generated with or without the quotation marks surrounding the file path.

"C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\microstation.exe" -debug

In MicroStation CONNECT the debug file will be saved to C:\Users\<username>\AppData\Local\Temp\Bentley\MicroStation\10.0.0\msdebug.txt and will open in Notepad (the default application associated with the .txt file extension)

Steps to Accomplish for MicroStation 2023

Press: Windows key + R

In the Run dialog, type (or paste) the following. Note that a debug file will be generated with or without the quotation marks surrounding the file path.

"C:\Program Files\Bentley\MicroStation 2023\MicroStation\microstation.exe" -debug

In MicroStation 2023, the debug file will be saved to C:\Users\<username>\AppData\Local\Temp\Bentley\MicroStation\23.0.0\msdebug.txt and will open in Notepad (the default application associated with the .txt file extension)

For more background and other methods, including creating permanent shortcuts, please read: MicroStation's Debug File

See Also

Training: Running a MicroStation Debug

Other Language Sources

Deutsch

Español

Français

Italian

 Original Author:Marco Salino