PC Review


Reply
Thread Tools Rate Thread

Debug Settings VS2005 - "Break on All Errors"

 
 
iKiLL
Guest
Posts: n/a
 
      15th Dec 2006
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


 
Reply With Quote
 
 
 
 
DeveloperX
Guest
Posts: n/a
 
      15th Dec 2006
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


 
Reply With Quote
 
iKiLL
Guest
Posts: n/a
 
      15th Dec 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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

>



 
Reply With Quote
 
iKiLL
Guest
Posts: n/a
 
      15th Dec 2006
Hi DevX


i have found that <Ctrl + Alt + E> bring 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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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

>



 
Reply With Quote
 
DeveloperX
Guest
Posts: n/a
 
      15th Dec 2006
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 + E> bring 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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

> >


 
Reply With Quote
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      15th Dec 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi DevX
>
>
> i have found that <Ctrl + Alt + E> bring 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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

>>

>
>



 
Reply With Quote
 
iKiLL
Guest
Posts: n/a
 
      15th Dec 2006
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.com> wrote in
message news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi DevX
>>
>>
>> i have found that <Ctrl + Alt + E> bring 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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
>>>

>>
>>

>
>



 
Reply With Quote
 
DeveloperX
Guest
Posts: n/a
 
      15th Dec 2006
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.com> wrote in
> message news:(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> Hi DevX
> >>
> >>
> >> i have found that <Ctrl + Alt + E> bring 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" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >>> 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
> >>>
> >>
> >>

> >
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving Error: Unable to copy file "obj\Debug\MyProject.xml" to "bin\Debug\MyProject.xml". Access to the path 'obj\Debug\Aegis.xml' is denied. Aegis CGatto Microsoft VB .NET 4 24th Jul 2010 12:09 AM
Debug Settings VS2005 - "Break on All Errors" iKiLL Microsoft Dot NET 0 15th Dec 2006 09:48 AM
When I do a debug.print("blabla") in VB (VS2005) it doesn't show up in the output window, what gives? David A. Beck Microsoft VB .NET 9 26th Dec 2005 03:13 AM
How to reset "Default Environment Settings" in VS2005 Team Suite Eagle Tsui Microsoft Dot NET 0 23rd Apr 2005 04:41 PM
Re: Constant "RunTime Error, Debug?" errors Frank Saunders, MS-MVP Windows XP Internet Explorer 0 4th Aug 2003 08:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:43 PM.