Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Just-In-Time Debugger error that closes LabVIEW

Primary Software: LabVIEW Development Systems>>Professional Development System
Primary Software Version: 8.5
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am using LabVIEW 8.5 and I am receiving the following error when I try to open my project/program:

Visual Studio Just-In-Time Debugger
An unhandled win32 exeption occured in LabVIEW.exe [4528]. 


I have no idea what the problem is, or how to fix it.  When I click on "YES" or "NO" LabVIEW closes all the windows.

I did try the project in a different machine that doesnot have any Visual Studio or .NET component and it is working fine. How can I get rid of this error in my PXI system?

Solution:
You can re-enable the Dr. Watson program to catch unhandled exceptions. After you do this, the Visual Studio Just-In-Time (JIT) debugger will no longer catch unhandled exceptions. To do this, follow these steps:

1. Click START, click RUN, type in: CMD and click OK

2. In the command line, type in: drwtsn32 -i and press ENTER

This will set DR WATSON as the default debugger to catch unhandled exceptions instead of Visual Studio JIT debugger.

If the problem persist, you have to try to edit the registry as described in the Microsoft support site below:



Related Links:
Microsoft Support KnowledgeBase Article: Unhandled Exceptions JIT Debugger

Attachments:
JITerror.JPG




Report Date: 02/12/2008
Last Updated: 03/29/2008
Document ID: 4IBG5918

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit