CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 2/21/2005 6:58:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 47 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"pkellner" <>
NewsGroup User
Anyway to tell where a first chance exception is thrown from?2/21/2005 6:58:23 PM

0

I'm getting a first chance exception n my debugger but can't tell where it is coming from. Is there anyway to get a stack trace of this? I've tried guessing and putting try catch loops where I don't have them but am not making much headway. It keeps coming.

Thanks

A first chance exception of type 'System.FormatException' occurred in mscorlib.dll

Peter Kellner
http://73rdstreet.com and blogging at
http://PeterKellner.net
MVP, ASP.NET
"BrockAllen" <>
NewsGroup User
Re: Anyway to tell where a first chance exception is thrown from?2/21/2005 7:31:54 PM

0

Run the page outside the debugger by hitting Ctrl-F5 (instead of F5) just to see if the error's something from the ASP.NET plumbing. If the failure is before your page's code, then a lot fo the times the debugger can't get very far. Also, you typically will see the exception and the call stack right there in the output of the page.

If it's not that (I can't quite tell from the description) or it doesn't help, then under the menu Debug->Exceptions you can control the debugger behavior when there's an exception. Find the item in the list that says "Common Language Runtime Exceptions" and check the "Thrown" checkbox. This tells the debugger to stop when there's an exception thrown.

-Brock

DevelopMentor
http://staff.develop.com/ballen
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













.net is to darn expensive!!! i guess i will have to learn linux :(

how to disable a button onclick of itself, but it has to fire the event.

update access database

need more flexible regular expression

insert a null date

problems converting string to int.

aspx code and aspx.vb

--------->need help again<-----------

@import

vb scripts functions in vwd 2005

what will happen if we compile the procedure at the time of execution?

disabling text box web control

telephone integration with .net

byte array from flex2(flash) to asp.net to hd woot!

website works as localhost but not when you access it from the internet

programming a "back" button

developing, building, and testing. how do it the best? learning from the world leader - microsoft

search box for retrieving firstname lastname record in sql server 2005

directory questions

creating a photo gallery

which type of data control(s) should i be using??

setting focus to a control

datatable.select()

contact details submission

guided tour for vs

handling events through wrapper classes

problems with email attachments

small integration with classic asp

how to begin using code behind (c#) with data in table?

more than 1 form on a page

novice to professional

security exception in visual web developer!! need help!

elements in formview 2.0

c# connection

how two dates can be compared

page navigation?

variable scope - losing data

the serialize trouble ,unable to translate bytes [ff] at index 54 from specified code page to unicode

about webmatrix

checkboxlist checked property?

error - isessionidmanager.initializerequest has not been called for this request yet.

making text boxes fixed?

how to send e mail

redirection of main page - problem

excel to sql for asp.net page

visual studio version differences??

problem with java objects

asp.net and data execution prevention

help using arraylist/hashtable in c#

forums & asp.net membership

   
  Privacy | Contact Us
All Times Are GMT