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

Debug Settings VS2005 - "Break on All Errors"

Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6 "Break on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink
Dec 15 '06 #1
7 6553
If you go to the debug menu then select Exceptions, there are two radio
button sets at the bottom which will achieve what you want.
The settings apply to each of the groups, and optionally each of the
exceptions beneath that group.

iKiLL wrote:
Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6 "Break on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink
Dec 15 '06 #2
Thanks DevX

i have found what you sugested on the web already but i don't seem to have
the Exceptions item in my Debug menu.

i am using C# with VS2005 and working on a Windows Mobile application.

is there not some other setting that i maybe need to change first to get the
Exceptions item in my debug menu?

Thanks.
ink

"DeveloperX" <nn*****@operamail.comwrote in message
news:11**********************@n67g2000cwd.googlegr oups.com...
If you go to the debug menu then select Exceptions, there are two radio
button sets at the bottom which will achieve what you want.
The settings apply to each of the groups, and optionally each of the
exceptions beneath that group.

iKiLL wrote:
>Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6 "Break
on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink

Dec 15 '06 #3
Hi DevX
i have found that <Ctrl + Alt + Ebring up an exception window but there
are no radio buttons only a tree view with check boxes next to each item in
the tree and the child items.

and none of them say "Break on All Errors"

What should i be looking for?

Thanks,
ink



"DeveloperX" <nn*****@operamail.comwrote in message
news:11**********************@n67g2000cwd.googlegr oups.com...
If you go to the debug menu then select Exceptions, there are two radio
button sets at the bottom which will achieve what you want.
The settings apply to each of the groups, and optionally each of the
exceptions beneath that group.

iKiLL wrote:
>Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6 "Break
on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink

Dec 15 '06 #4
Ah sorry, I'm using 2003 still and don't have '05 installed here, I
can't remember off the top of my head, but I will check when I get home
and update you if no one else has.
Which edition of 2005 are you using? The one of the full ones, ie
standard, professional, or express?

iKiLL wrote:
Hi DevX
i have found that <Ctrl + Alt + Ebring up an exception window but there
are no radio buttons only a tree view with check boxes next to each item in
the tree and the child items.

and none of them say "Break on All Errors"

What should i be looking for?

Thanks,
ink



"DeveloperX" <nn*****@operamail.comwrote in message
news:11**********************@n67g2000cwd.googlegr oups.com...
If you go to the debug menu then select Exceptions, there are two radio
button sets at the bottom which will achieve what you want.
The settings apply to each of the groups, and optionally each of the
exceptions beneath that group.

iKiLL wrote:
Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6 "Break
on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink
Dec 15 '06 #5
Hi,

It's still there, just that a little different :)

You have the exceptions listed in 5 sections, the one that you should care
the most is common or managed exceptions. next to it you should check the
thrown option, this will break in the debugger when an exception is thrown
in your code.
--
Ignacio Machin
machin AT laceupsolutions com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:OQ*************@TK2MSFTNGP02.phx.gbl...
Hi DevX
i have found that <Ctrl + Alt + Ebring up an exception window but there
are no radio buttons only a tree view with check boxes next to each item
in the tree and the child items.

and none of them say "Break on All Errors"

What should i be looking for?

Thanks,
ink



"DeveloperX" <nn*****@operamail.comwrote in message
news:11**********************@n67g2000cwd.googlegr oups.com...
>If you go to the debug menu then select Exceptions, there are two radio
button sets at the bottom which will achieve what you want.
The settings apply to each of the groups, and optionally each of the
exceptions beneath that group.

iKiLL wrote:
>>Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6
"Break on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink


Dec 15 '06 #6
Thanks for your input IgM.

I get the Idea now. Then you can hit Reset to put them all back after
testing.

DevX i am on Professional but I believe I have the solution. Thanks for your
input.



"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:uu**************@TK2MSFTNGP03.phx.gbl...
Hi,

It's still there, just that a little different :)

You have the exceptions listed in 5 sections, the one that you should care
the most is common or managed exceptions. next to it you should check the
thrown option, this will break in the debugger when an exception is thrown
in your code.
--
Ignacio Machin
machin AT laceupsolutions com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:OQ*************@TK2MSFTNGP02.phx.gbl...
>Hi DevX
i have found that <Ctrl + Alt + Ebring up an exception window but there
are no radio buttons only a tree view with check boxes next to each item
in the tree and the child items.

and none of them say "Break on All Errors"

What should i be looking for?

Thanks,
ink



"DeveloperX" <nn*****@operamail.comwrote in message
news:11**********************@n67g2000cwd.googleg roups.com...
>>If you go to the debug menu then select Exceptions, there are two radio
button sets at the bottom which will achieve what you want.
The settings apply to each of the groups, and optionally each of the
exceptions beneath that group.

iKiLL wrote:
Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6
"Break on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it
is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink



Dec 15 '06 #7
Good stuff :) I must get 2005 installed in the office, we only use it
for web stuff at the moment although I (and many others) are pushing to
get it used for non web stuff too.

Main reason for posting though is I've just run up the XNA version of
VS express and it works exactly the same way as full VS 2005 with
regards to exceptions.
iKiLL wrote:
Thanks for your input IgM.

I get the Idea now. Then you can hit Reset to put them all back after
testing.

DevX i am on Professional but I believe I have the solution. Thanks for your
input.



"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:uu**************@TK2MSFTNGP03.phx.gbl...
Hi,

It's still there, just that a little different :)

You have the exceptions listed in 5 sections, the one that you should care
the most is common or managed exceptions. next to it you should check the
thrown option, this will break in the debugger when an exception is thrown
in your code.
--
Ignacio Machin
machin AT laceupsolutions com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:OQ*************@TK2MSFTNGP02.phx.gbl...
Hi DevX
i have found that <Ctrl + Alt + Ebring up an exception window but there
are no radio buttons only a tree view with check boxes next to each item
in the tree and the child items.

and none of them say "Break on All Errors"

What should i be looking for?

Thanks,
ink



"DeveloperX" <nn*****@operamail.comwrote in message
news:11**********************@n67g2000cwd.googlegr oups.com...
If you go to the debug menu then select Exceptions, there are two radio
button sets at the bottom which will achieve what you want.
The settings apply to each of the groups, and optionally each of the
exceptions beneath that group.

iKiLL wrote:
Hi all

I am still pretty new to .Net and C#.

I have come from a VB6 Background.

I am using VS2005 to develop an C# Windows mobile 5.0 application.

What I am looking for is the setting that is equivalent to the VB6
"Break on
All Errors". And in particular for any thread that may be running.

My error handlers keep catching my errors in different threads and it
is
taking me ages just to track down exactly where they are happening.

Many thanks,

ink
Dec 15 '06 #8

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

Similar topics

5
by: Michelle Kinsey-Clinton | last post by:
Hello, I am writing an ASP app which is giving me some very frustrating errors. They appear intermittently, no real pattern to them, and often go away if you reload, or back up a few pages and...
1
by: INGSOC | last post by:
Check out the Microsoft support groups post this weekend. The weekend of "patches". They seem to have broken COM/.net interop on W2K. ..Net apps calling any COM component are met with nasty,...
2
by: yyhhjj | last post by:
I created a test program to implement an iterator. First, I used 'yield break' in the iterator, it worked normally. Then, I simply used 'break' in the places of 'yield break', it still worked...
3
by: Mike Wilson | last post by:
How do I turn on the VB6 "Break on All Errors" equivilent in VB.NET 2005? I want to bypass my error handling for the time being while I developer-test some parts of my application. Many...
4
by: Daniel Greene | last post by:
Dear Group, I haven't been on this newsgroup in years. Hello again to village elders Lars Eighner, Alan Flavelle, and Jukka Korpela! :-) What brings me back? I was using the W3C QA to validate...
0
by: iKiLL | last post by:
Hi all I am still pretty new to .Net and C#. I have come from a VB6 Background.
3
by: Twanne | last post by:
Hi, I've got a table called Aerosol and a table called LinkTabel. Now I do an update to a table from an excell sheet, this table is called ExportAerosol. So far so good, the import works...
1
by: Dameon99 | last post by:
Hi, I have just spent many hours debugging my code and now when I run it I get the following error: "An access violation (Segmentation fault) raised in your program" I have researched on this...
11
by: O.B. | last post by:
Does C# support anything like PHP's break command that optionally accepts a parameter specifying how many loops to break out of?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.