Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki ADPlus with SLS option
    • 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
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • -Exception - MicroStation
          • Create a Dump File with Task Manager
          • ADPlus with SLS option
          • Crash running Print Organizer with Signcad installed
          • Download and Install Windows Debugging Tools
          • Exception Log 101
          • Generate Type 7 Minidump files
          • Managing Exception Logs
          • MicroStation Exception Log Primer
          • MicroStation crashes when loading Tool Boxes dialog
          • MicroStation crashing on start up
          • Microsoft DebugDiag - Quick Guide for MicroStation crash issues
          • Setting up Dr. Watson for MicroStation J
          • Troubleshooting MicroStation Processor Exception Errors in MicroStation J
          • Unable to Load/Create CmdFrame
          • Full memory dumps using Windows Error Reporting (WER)
          • Generate a hang dump with ProcDump
          • Generate crash logs with ADPlus
          • Generate Type 7 Minidump with Page Heap
          • How to collect Event logs
          • How to generate Dependency Walker log files
          • How to generate ProcMon logs
          • MicroStation Connect crashes during startup (Dell Backup and Recovery)
          • MicroStation Connect crashes immediately when started (IBM Trusteer Rapport)
          • MicroStation Connect crashes when started (Sophos)
          • MicroStation Connect crashes when started (Trend Micro)
          • MicroStation Connect does not start (SentinelOne)
          • MicroStation crashes on start up (restore defaults)
          • MicroStation crashes on start up (UPF related)
          • MicroStation crashes on startup (Legacy LicenseClient)
          • MicroStation exits when attaching Bing Map
          • MicroStation J does not exit
          • MicroStation not working
          • Open Light Manger and select Solar, crashes MicroStation Connect
          • Other Crash Dumps
          • Performance Issue when starting MicroStation
          • SQLite error when starting MicroStation
          • Startup Logs
          • VBA Error - Class not registered
        • +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. 

    ADPlus with SLS option

      Product(s): MicroStation
      Version(s): 10.05.00.40
      Environment: N\A
      Area: Exception
      Subarea: N\A

    ADPlus with SLS option

    Background

    ADPlus is the debugger used to capture crash, hang dumps.
    The SLS option is used to generate a detailed log about modules and entry points, which is useful to troubleshoot DLL not found, PATH or name conflicts.

    Steps to Accomplish

    Steps to generate a Dump file with logs.

    1.  Download and install Windows Debugging Tools

    2.  Create a folder “C:\Temp”. All the logs will be created under this folder.

    3.  Open a command prompt and change directory to Microsoft Debugging Tools for Windows program.
         for a 64 bit machine:
         C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\
         for a 32 bit machine:
         C:\Program Files\Windows Kits\10\Debuggers\x86

    4.  Enable “Show Loader Saps” and run the following in command prompt.
         gflags -i ustation.exe +sls (MicroStation V8i)
         gflags -i microstation.exe +sls (MicroStation Connect)

         gflags -i powerdraft.exe +sls (PowerDraft Connect)

    5.  We will use Adplus to capture the dump logs. Run the following in command prompt.
         adplus -crash -quiet -pmn ustation.exe -o  c:\temp (MicroStation V8i)
         adplus -crash -quiet -pmn microstation.exe -o  c:\temp (MicroStation Connect)

         adplus -crash -quiet -pmn powerdraft.exe -o c:\temp (PowerDraft Connect)

    6.  Reproduce crash now. If the problem is intermittent, this may take an indefinite amount of time; Do not close the command prompt window (highlighted in the image below) during this time. Allow some time for the memory dump to complete.

         After reproducing the crash successfully, allow some time for the memory dump to complete, the command prompt highlighted above will disappear. Once this has been completed please zip up the folder “20170606_135346_Crash_Mode” with the crash dump and upload the zip files to sharefile location provided in the email.
         Below is an example of a folder with a crash dump inside:
         C:\Temp\20170606_135346_Crash_Mode\

      

    7.  Disable “Show Loader Maps” by running the following, in command prompt.
         gflags -i ustation.exe -sls (V8i)
         gflags -i microstation.exe -sls (Connect)

    Note: The log file generation takes a long time. Do not close the following window marked with Red box.

      

    Video

    Play this video

    See Also

    ADPlus Crash

    ADPlus Hang

    Show loader snaps

     

      Original Author: Leonard Jones
    • SLS
    • MicroStation
    • PRTUtilities
    • gflags
    • ADPlus
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Leonard Jones Created by Bentley Colleague Leonard Jones
    • When: Sun, Jun 25 2017 9:15 AM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Mon, Jul 18 2022 11:57 PM
    • Revisions: 12
    • 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