473,378 Members | 1,462 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,378 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 6548
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?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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?

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.