473,763 Members | 2,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6570
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*****@operam ail.comwrote in message
news:11******** **************@ n67g2000cwd.goo glegroups.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*****@operam ail.comwrote in message
news:11******** **************@ n67g2000cwd.goo glegroups.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*****@operam ail.comwrote in message
news:11******** **************@ n67g2000cwd.goo glegroups.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***@NotMyEma il.comwrote in message
news:OQ******** *****@TK2MSFTNG P02.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*****@operam ail.comwrote in message
news:11******** **************@ n67g2000cwd.goo glegroups.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******** ******@TK2MSFTN GP03.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***@NotMyEma il.comwrote in message
news:OQ******** *****@TK2MSFTNG P02.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*****@operam ail.comwrote in message
news:11******* *************** @n67g2000cwd.go oglegroups.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******** ******@TK2MSFTN GP03.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***@NotMyEma il.comwrote in message
news:OQ******** *****@TK2MSFTNG P02.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*****@operam ail.comwrote in message
news:11******** **************@ n67g2000cwd.goo glegroups.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
7402
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 start over again. The first error is logged as a 400 error and says only, "The parameter is incorrect." It (mostly, but not always) happens upon submitting a form, and a reload is generally successful in bringing the page up just fine. I have...
1
1473
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, unresolvable "security" errors that can't be fixed with dcomcfg or the .Net configuration manager.
2
8743
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 normally. What's the difference between 'yield break' and 'break' here? Thanks!
3
10982
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 thanks! Mike
4
2125
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 my XHTML the other day, and I came across this "tip of the day" called "Use standard redirects: don't break the back button!" It said, "If you want http://www.example.org/foo to actually display what's at http://www.example.org/bar you should...
0
920
by: iKiLL | last post by:
Hi all I am still pretty new to .Net and C#. I have come from a VB6 Background.
3
1701
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 perfect. Now when I want to transfer the data from the ExportAerosol table to the Aerosol table I have to make a unique key. I do this by adding a string to another key. Now there is no problem when I update the Aerosol table. It adds the values I...
1
2641
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 and found that it is usually the result of faulty pointers or memory that is not allocated. However I have allocated all of my memory corectly (I feel) and my pointers look to be correct.. Is there another reason my code could be causing this error?...
11
9715
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
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9998
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.