By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,934 Members | 1,692 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,934 IT Pros & Developers. It's quick & easy.

Debug Settings VS2005 - "Break on All Errors"

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.