473,383 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

JIT Compilation for win form app

I am working on a win app, and when testing it, I encounter an error that
results in a dialog opening and giving me a generic error (object ref not
set to instance of an object or the like). It doesn't tell me what the ref
or obj is, and doesn't give me a line number. Isn't this part of JIT??? I
get that when working in ASP.Net apps.

I am building it in debug mode.

My Machine.config file in 1.1 is updated to inclue <system.windows.forms
jitDebugging="true" />, but that had no effect. There is no
Applicaiton.config file that I can find that is generated by studio... if it
exists, does it superceed the setting is Machine.config?

Isn't studio considered a JIT Debugger? I guess I don't understand. ;-)

Thanks,

MCD
Nov 20 '05 #1
1 826
No, it's running your code and finding a null reference to an object.
Compile the code, before you run it, press CTLR + ALT + E, then Alt + B,
then Enter. That will stop you at the point of exception. To remove:
CTLR + ALT + E, then Alt + O, then Enter

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Big D" <a@a.com> wrote in message
news:ej*************@tk2msftngp13.phx.gbl...
I am working on a win app, and when testing it, I encounter an error that
results in a dialog opening and giving me a generic error (object ref not
set to instance of an object or the like). It doesn't tell me what the ref or obj is, and doesn't give me a line number. Isn't this part of JIT??? I get that when working in ASP.Net apps.

I am building it in debug mode.

My Machine.config file in 1.1 is updated to inclue <system.windows.forms
jitDebugging="true" />, but that had no effect. There is no
Applicaiton.config file that I can find that is generated by studio... if it exists, does it superceed the setting is Machine.config?

Isn't studio considered a JIT Debugger? I guess I don't understand. ;-)

Thanks,

MCD

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
3
by: ME | last post by:
I would like to write a .NET Compact Framework App Simultaneously with a standard .NET App using Conditional Compilation. However I have run into a bit of, what I believe, a misunderstanding. How...
11
by: Michael Gaab | last post by:
Compilation in c generally has four phases 1. Preprocessing 2. Compilation 3. Assembly 4. Linking. If I use a flag that will not link the code, order of compilation is not an issue,...
12
by: wanghz | last post by:
Hi, Could I ask some questions about the conditional compilaion? Suppose I have three simple files: a.c, b.c and c.h /* --------a.c--------- */ #include <stdio.h> #include "c.h" int...
2
by: Roland Hall | last post by:
Can someone please explain this error to me? Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following...
5
by: Stuart Carnie | last post by:
I suspect it's unlikely, but you'll never know until you ask, but are there any attributes that would allow us to contribute to the compiled output? e.g. // this class exists in a separate,...
9
by: gjiang_usenet | last post by:
Hi, I have an application compiled using gcc under DB2 v8 for Windows Fixpak 12. It works fine for this fixpak. However, if I move the application to a different DB2 fixpak (on Windows), it...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
1
G Jones
by: G Jones | last post by:
For the life of me I can't figure out this problem. I get this Microsoft VBScript compilation error '800a0400' on the form processor and everything looks fine. Maybe you someone can point out my...
5
by: dancer | last post by:
Using Asp.net 1.1 Can somebody tell me why the code following gives this error message: Compilation Error Description: An error occurred during the compilation of a resource required to service...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.