Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki How to Quickly Generate a Debug File
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • -DGN - MicroStation
          • +Compress - DGN - MicroStation
          • -General - DGN - MicroStation
            • "Error creating file" error when trying to save to V7 format
            • Cannot Copy/Cut and Paste
            • Design File Cleanup Tool Fails to Remove Duplicates
            • Design History now shows duplicate entries, one for the old file and one for the new.
            • Element Numbers And Types
            • Element will not move or scale
            • General MicroStation Info
            • How to Create a Windows System Information File
            • How to Disable Hyper Threading
            • How to quickly find and collect Exception logs and Minidump files
            • How to Quickly Generate a Debug File
            • How to replace design file header
            • How to specify the level for the viewport in a DGN file
            • Message Center - Saving Additional Information
            • MicroStation Accessing Files Stored on Cloud-Base Drives
            • Remove duplicate elements
            • Technical Bulletin MicroStation V8 XM Edition And SignCAD
            • Using The Solids Working Area In MicroStation V8 [CS]
            • V8 DGN file format compatibility
            • What is an I-Model and why can't I modify it?
            • Your Solids Working Area Global Origin Working Units And You [CS]
          • +Open - DGN - MicroStation
          • +Save - DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

     
     Questions about this article, topic, or product? Click here. 

    How to Quickly Generate a Debug File

      Product: MicroStation
      Version: V8i, CONNECT
      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 both MicroStation v8i and CONNECT Edition.

    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)

    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
    • CONNECT Edition
    • Debug
    • v8i
    • connect
    • MicroStation
    • how to
    • Configuration
    • Share
    • History
    • More
    • Cancel
    • Marco Salino Created by Marco Salino
    • When: Wed, Jan 8 2014 7:46 AM
    • Benedetta Ridolfi Last revision by Bentley Colleague Benedetta Ridolfi
    • When: Wed, Dec 15 2021 12:03 PM
    • Revisions: 18
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies