Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Using JIT debugger outside Visual Studio

Posted on 2013-11-29
1
Medium Priority
?
497 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 64

Accepted Solution

by:
Fernando Soto earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

715 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