473,386 Members | 1,962 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,386 software developers and data experts.

Why JIT Debugger Doesn't Work on Particular Project?

Hi,

I've been using VS for a number of projects and the debugger has worked as
advertised until now. I have a desktop solution with three projects, two of
which are class modules. For some reason, in only one of them, the JIT
debugger doesn't seem to be working. (At least I asssume this is a JIT
debugger issue.)

Anyways, in all my other projects an error causes the pop-up window with the
break button option that breaks at the line with the problem. For some
reason, any error in this one particular project just pops-up the window
that says the JIT debugger needs to be enabled. I tried setting JITDebugger
to True in the Machine.config file per the window instructions, but that
didn't help (and I wondered why I'd need to anyway because the debugger
works everywhere else). It also talks about changing this setting in the
app's config file, but the only config files I see are those in the ASP.NET
projects.

Does anyone know where I should look to see why the JITDebugger window
doesn't pop-up in a particular application? The only different thing that I
can think of that I did in this project was to include a reference to a COM
object. But even when I removed the reference, still no debug window.

Any help will be appreciated. Thanks in advance,
Chuck
Jul 21 '05 #1
4 2349
With your solution open in VS.NET right click the solution in the Solution
Explorer and click on Configuration Manager. It's probably on Release,
change it to Debug. Click Close and run your application again.

"Chuck Ritzke" <CHUCK AT MYACTUARY DOT COM> wrote in message
news:uL*************@tk2msftngp13.phx.gbl...
Hi,

I've been using VS for a number of projects and the debugger has worked as
advertised until now. I have a desktop solution with three projects, two of which are class modules. For some reason, in only one of them, the JIT
debugger doesn't seem to be working. (At least I asssume this is a JIT
debugger issue.)

Anyways, in all my other projects an error causes the pop-up window with the break button option that breaks at the line with the problem. For some
reason, any error in this one particular project just pops-up the window
that says the JIT debugger needs to be enabled. I tried setting JITDebugger to True in the Machine.config file per the window instructions, but that
didn't help (and I wondered why I'd need to anyway because the debugger
works everywhere else). It also talks about changing this setting in the
app's config file, but the only config files I see are those in the ASP.NET projects.

Does anyone know where I should look to see why the JITDebugger window
doesn't pop-up in a particular application? The only different thing that I can think of that I did in this project was to include a reference to a COM object. But even when I removed the reference, still no debug window.

Any help will be appreciated. Thanks in advance,
Chuck

Jul 21 '05 #2
Could it be some attribute on the classes? I know this attribute causes
the debugger to step over any method withing this class. I had to
comment them out so i could step in with the debugger.
[System.Diagnostics.DebuggerStepThrough()]
I got this from an auto-generated class from using one of the .Net tools.

Hope this helps.
Leon Lambert

Chuck Ritzke wrote:
Hi,

I've been using VS for a number of projects and the debugger has worked as
advertised until now. I have a desktop solution with three projects, two of
which are class modules. For some reason, in only one of them, the JIT
debugger doesn't seem to be working. (At least I asssume this is a JIT
debugger issue.)

Anyways, in all my other projects an error causes the pop-up window with the
break button option that breaks at the line with the problem. For some
reason, any error in this one particular project just pops-up the window
that says the JIT debugger needs to be enabled. I tried setting JITDebugger
to True in the Machine.config file per the window instructions, but that
didn't help (and I wondered why I'd need to anyway because the debugger
works everywhere else). It also talks about changing this setting in the
app's config file, but the only config files I see are those in the ASP.NET
projects.

Does anyone know where I should look to see why the JITDebugger window
doesn't pop-up in a particular application? The only different thing that I
can think of that I did in this project was to include a reference to a COM
object. But even when I removed the reference, still no debug window.

Any help will be appreciated. Thanks in advance,
Chuck

Jul 21 '05 #3
Thanks, but I forgot to mention I did check that.

Chuck

"Andy Gaskell" <pubb AT hotmail DOT com> wrote in message
news:uR**************@TK2MSFTNGP09.phx.gbl...
With your solution open in VS.NET right click the solution in the Solution
Explorer and click on Configuration Manager. It's probably on Release,
change it to Debug. Click Close and run your application again.

"Chuck Ritzke" <CHUCK AT MYACTUARY DOT COM> wrote in message
news:uL*************@tk2msftngp13.phx.gbl...
Hi,

I've been using VS for a number of projects and the debugger has worked as advertised until now. I have a desktop solution with three projects, two of
which are class modules. For some reason, in only one of them, the JIT
debugger doesn't seem to be working. (At least I asssume this is a JIT
debugger issue.)

Anyways, in all my other projects an error causes the pop-up window with

the
break button option that breaks at the line with the problem. For some
reason, any error in this one particular project just pops-up the window
that says the JIT debugger needs to be enabled. I tried setting

JITDebugger
to True in the Machine.config file per the window instructions, but that
didn't help (and I wondered why I'd need to anyway because the debugger
works everywhere else). It also talks about changing this setting in the
app's config file, but the only config files I see are those in the

ASP.NET
projects.

Does anyone know where I should look to see why the JITDebugger window
doesn't pop-up in a particular application? The only different thing

that I
can think of that I did in this project was to include a reference to a

COM
object. But even when I removed the reference, still no debug window.

Any help will be appreciated. Thanks in advance,
Chuck


Jul 21 '05 #4
Thanks. Sorry to be dense (I'm fairly newbie)... I don't think
System.Diagnostics.DebuggerStepThrough is the problem, but I don't know for
sure as I don't know what these attributes do exactly.

I searched thru my projects and the only place I see that is in my form
classes, but the problem class is just a generic "no-form" class where I do
calculations and call it from a form class. The form class debugs fine and
the other non-form class it calls works fine. I don't see any system
generated code at all in my non-form classes. And I can't see anything
different in any settings that I can find.

Unless somebody has something obvious, I guess my only other options is to
rebuild the class piece by piece and see when the debugger stops working.

Thanks,
Chuck

Chuck


"Leon Lambert" <la******@inil.com> wrote in message
news:e6**************@TK2MSFTNGP12.phx.gbl...
Could it be some attribute on the classes? I know this attribute causes
the debugger to step over any method withing this class. I had to
comment them out so i could step in with the debugger.
[System.Diagnostics.DebuggerStepThrough()]
I got this from an auto-generated class from using one of the .Net tools.

Hope this helps.
Leon Lambert

Chuck Ritzke wrote:
Hi,

I've been using VS for a number of projects and the debugger has worked as advertised until now. I have a desktop solution with three projects, two of which are class modules. For some reason, in only one of them, the JIT
debugger doesn't seem to be working. (At least I asssume this is a JIT
debugger issue.)

Anyways, in all my other projects an error causes the pop-up window with the break button option that breaks at the line with the problem. For some
reason, any error in this one particular project just pops-up the window
that says the JIT debugger needs to be enabled. I tried setting JITDebugger to True in the Machine.config file per the window instructions, but that
didn't help (and I wondered why I'd need to anyway because the debugger
works everywhere else). It also talks about changing this setting in the
app's config file, but the only config files I see are those in the ASP.NET projects.

Does anyone know where I should look to see why the JITDebugger window
doesn't pop-up in a particular application? The only different thing that I can think of that I did in this project was to include a reference to a COM object. But even when I removed the reference, still no debug window.

Any help will be appreciated. Thanks in advance,
Chuck

Jul 21 '05 #5

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

Similar topics

1
by: Rvo | last post by:
Hi all, I used to have Visual Studio.net (version 2002) on my PC and it was working just fine, then I installed Word 2003 and after that I could no longer debug applications in VS.net I always...
0
by: jmw | last post by:
I have a project I have been working on and it was working fine until this morning. I have a login form and when I ran the login form it gave me a message that I couldn't login. I decided to run...
13
by: python | last post by:
hello and thanks for reading this, i have been a dos/windows user using some form of the basic language for 30 years now. i own and run a small programming company and there is one feature that...
5
by: David Veeneman | last post by:
I'm trying to debug a solution with two projects; a DLL that does some heavy lifting, and a WinForms app that acts as a front-end GUI for the DLL. I'm using VS.Net to develop and debug the...
5
by: Tom | last post by:
I have a component I'm writing. It appears that the debugger simply doesn't work when in design mode. For example: build the component drop the component on a form break points in the "New" sub...
4
by: Chuck Ritzke | last post by:
Hi, I've been using VS for a number of projects and the debugger has worked as advertised until now. I have a desktop solution with three projects, two of which are class modules. For some...
4
by: coolhotrod | last post by:
I am developing a website in asp 2.0 and have recently started having problems setting breakpoints for debugging. I can set a breakpoint, start the debugger, then the breakpoint will show the...
12
by: Arcticool | last post by:
Can anyone tell me why j never shows up in my locals window? 32 is printed to console so I know the assignment is working. I was under the impression that I could see everything as it happens by...
2
by: Clive Dixon | last post by:
I'm becoming increasingly frustrated with debugger visualizers (VS 2005). It seems virtually impossible to write one which doesn't cause a timeout when trying to view the data. I'm guessing that...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.