Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Setting up Dr. Watson for MicroStation J
    • 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. 

    Setting up Dr. Watson for MicroStation J

       
      Applies To 
       
      Product(s): MicroStation
      Version(s): 08.00.00.21
      Environment:  N\A
      Area:  N/A
      Subarea:  N\A
      Original Author: Elisa Pry, Bentley Technical Support Group
       

    Problem

    Random processor exception errors.

    Solution

    Setting Up Dr. Watson for MicroStation V8/J/SE and MicroStation 95 on Windows 2000/NT


    These instructions should be followed by the User for random processor exception errors.


    Random exception errors are usually memory faults somewhere in the Operating System
    and/or inside the MicroStation source. The Dr. Watson debug log will help development
    determine where the exception is occurring.

    These instructions must be followed for a valid Dr. Watson log.


    For NT:
    1. Go to the Administrative Tools group and run the Event Viewer.
    2. In the Event Viewer select the LOG pull down menu.
    3. Select "LOG SETTINGS" and set the Maximum Log Size to 1024.
    4. Check off "overwrite events as needed".
    For Windows 2000
    5. Go to the Administrative Tools group and run the Event Viewer.
    6. In the Event Viewer, make sure no specific events are selected, then
    go to the
    ACTION pull down menu and choose PROPERTIES.
    7.Set the Maximum Log Size to 1024.
    8.Check off "overwrite events as needed".
    9.Go to the %WINDIR%/ directory and look for a file called DRWTSN32.LOG,
    if exist, delete this file.
    10.Go to the %WINDIR%/system32/ directory and run the DRWTSN32.EXE.


    Make the following changes to the Dr. Watson Interface:


    1. Set the Number of Instructions to 50.
    2. Set the Number of Errors to Save to 100.
    3. Under the Options, toggle on Dump Symbol Table, Dump All Thread
    Counts, and Append to Existing Log File.
    4. Turn on "Create Crash Dump File". The name of the file is usually
    "user.dmp"and the path to it is usually the same as the path to the "drwtsn32.log".
    "User.dmp" files are typically large but compressible.

    5.Turn off the remaining options.
    6. Hit the CLEAR button. (Then you can close Dr Watson).
    7. Go to a DOS Command Prompt. Set the following variable: type in, SET MS_TRAP=NONE.

    From a DOS Command Prompt:
    MicroStation V8 directory, i.e. C:\Program
    files\Bentley\Program\MicroStation\..) start MicroStation by running the following command: type in, START USTATION.EXE
    MicroStation J directory, i.e. C:\Bentley\Program\MicroStation\..) start
    MicroStation by running the following command: type in, START USTATION.EXE
    MicroStation 95/SE directory, i.e. C:\win32app\ustation\..) start
    MicroStation by running the following command: type in, START USTATION.EXE
    Note: Upon starting MicroStation you should see a MicroStation Text Window with the
    message MS_TRAP set to NONE.
    In MicroStation reproduce the application exception error. After the error occurs check
    the default Windows directory, %WINDIR%, for a DRWTSN32.LOG file and a
    USER.DMP file. For MicroStation V8 check the ¦program
    files\Bentley\program\microstation\tmp directory for an exception.log file. Zip up and
    Email all three files to support@bentley.com. This will help us determine where the
    failure is occurring. You might have to try these steps several times to get the log file. In
    the email include the following information:
    The complete version of MicroStation you're running, (go to the Help pull-down
    in MicroStation and select About MicroStation), this will give you the
    full version. You can also get the full version from the Readme.txt file in the
    %ustation% directory.


    The complete version of any MicroStation Engineering Configurations or
    third party programs running within MicroStation.


    What operating system you're running, i.e. NT 3.51, NT 4.0 etc. Also
    note if any Service Packs are installed. To get the OS version, open the OS control
    panel, Start > Settings > Control Panel. Under the Help Pulldown menu select
    About %OS%.
    Keep a record of when the exception error occurs, a list of the IP numbers and
    what function/tool was being used, and what design file you were in when
    the system crashed.
    Note: The IP number is case sensitive - copy it down exactly as it
    appears.
    Sometimes MicroStation can simply hang instead of giving a processor
    exception error message. In this instance, there is still a way to create a Dr Watson
    log. If MicroStation is hanging at anytime so that the task manager lists it as "not
    responding", follow these instructions for creating a Dr Watson log and a user.dmp.


    1. Configure the Dr Watson executable per the instructions above.
    2. Next, recreate the hang. DO NOT end the task.
    3. Go to Windows Task Manager > Process Tab, to find the process id
    (PID) of the hung ustation.exe process.
    4. Open a Command Prompt window (Start > Run, type CMD and push Enter)
    and enter this command: drwtsn32.exe -p [PID] If, for instance, the PID of
    the hung ustation.exe is 3520, the command would be: drwtsn32.exe -p 3520.
    5. Dr. Watson should then produce a drwtn32.log and user.dmp file. They
    should be in the same folder as the drwtsn32.exe.

    See Also



    • Migrated
    • PRTUtilities
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Elisabeth Pry Created by Bentley Colleague Elisabeth Pry
    • When: Wed, Jun 4 2014 10:14 AM
    • Leonard Jones Last revision by Bentley Colleague Leonard Jones
    • When: Wed, Apr 14 2021 2:40 PM
    • Revisions: 5
    • 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