Connecting Tech Pros Worldwide Forums | Help | Site Map

Debug Settings VS2005 - "Break on All Errors"

iKiLL
Guest
 
Posts: n/a
#1: Dec 15 '06
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



DeveloperX
Guest
 
Posts: n/a
#2: Dec 15 '06

re: Debug Settings VS2005 - "Break on All Errors"


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:
Quote:
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
iKiLL
Guest
 
Posts: n/a
#3: Dec 15 '06

re: Debug Settings VS2005 - "Break on All Errors"


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" <nntpDev@operamail.comwrote in message
news:1166179305.746597.283730@n67g2000cwd.googlegr oups.com...
Quote:
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:
Quote:
>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
>

iKiLL
Guest
 
Posts: n/a
#4: Dec 15 '06

re: Debug Settings VS2005 - "Break on All Errors"


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" <nntpDev@operamail.comwrote in message
news:1166179305.746597.283730@n67g2000cwd.googlegr oups.com...
Quote:
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:
Quote:
>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
>

DeveloperX
Guest
 
Posts: n/a
#5: Dec 15 '06

re: Debug Settings VS2005 - "Break on All Errors"


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:
Quote:
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" <nntpDev@operamail.comwrote in message
news:1166179305.746597.283730@n67g2000cwd.googlegr oups.com...
Quote:
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:
Quote:
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
Ignacio Machin \( .NET/ C# MVP \)
Guest
 
Posts: n/a
#6: Dec 15 '06

re: Debug Settings VS2005 - "Break on All Errors"


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" <iKill@NotMyEmail.comwrote in message
news:OQh8muEIHHA.924@TK2MSFTNGP02.phx.gbl...
Quote:
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" <nntpDev@operamail.comwrote in message
news:1166179305.746597.283730@n67g2000cwd.googlegr oups.com...
Quote:
>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:
Quote:
>>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
>>
>
>

iKiLL
Guest
 
Posts: n/a
#7: Dec 15 '06

re: Debug Settings VS2005 - "Break on All Errors"


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:uuQgzcFIHHA.1240@TK2MSFTNGP03.phx.gbl...
Quote:
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" <iKill@NotMyEmail.comwrote in message
news:OQh8muEIHHA.924@TK2MSFTNGP02.phx.gbl...
Quote:
>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" <nntpDev@operamail.comwrote in message
>news:1166179305.746597.283730@n67g2000cwd.googleg roups.com...
Quote:
>>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
>>>
>>
>>
>
>

DeveloperX
Guest
 
Posts: n/a
#8: Dec 15 '06

re: Debug Settings VS2005 - "Break on All Errors"


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:
Quote:
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:uuQgzcFIHHA.1240@TK2MSFTNGP03.phx.gbl...
Quote:
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" <iKill@NotMyEmail.comwrote in message
news:OQh8muEIHHA.924@TK2MSFTNGP02.phx.gbl...
Quote:
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" <nntpDev@operamail.comwrote in message
news:1166179305.746597.283730@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
>>
>
>
Closed Thread