Solved

Using JIT debugger outside Visual Studio

Posted on 2013-11-29
1
482 Views
Last Modified: 2013-12-07
When testing my VB.NET applications outside Visual Studio they do abend from time to time. Then I always get this dialog box telling me that I should activate JIT debugging because that would give me so much more info about the error. The text about the JIT debugger is as follows:

---------------------------------------------------------------------------------------------
See the end of this message for details on invoking
Just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
      (Details about the error)

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
Application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging enabled.
---------------------------------------------------------------------------------------------

But how is this done? I know it is activated while debugging inside Visual Studio, but how to do it when I run the build exe file independently?
- I don’t find any machine.config file on the C drive.
- What is the jitDebugging value?
- Where do I find the system.windows.forms section?
- How do I compile my application with debugging enabled?

I have tried to find some info about this, but it is difficult to search and get a good match.

I use Win7 x32 and VS 2008
Please ask for more info if needed.

Can someone explain this to me?
0
Comment
Question by:daghoff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 63

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 39685919
Hi daghoff;

To enable the JIT debugger please follow the steps in this web page, How to: Enable/Disable Just-In-Time Debugging , These steps are done from within Visual Studio.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Crystal reports login after closing form 3 34
C# Service FileSystemwatcher isse 9 46
Need help with a query 14 36
Nested forach loop to linq 3 25
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

761 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question