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: 55 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:













problem installing visual studio 2005 on my windows xp sp2 pc

getting a custom control to show up in the toolbox

debug problem in threading

general question connection strings and project classes

i am confused about visual studio 2005 beta

how do i create a virtual folder in the built-in vs webserver

how to inherit one page class from another?

visual studio 2005 "closes by itself"

ascx in classdiagram

vs.net 2005 storeprocedures etc

viewing references in vs 2005

intellisense consuming text

completely uninstall a quirky add-in

how does visual studio know whether it's dealing with a web application or a web site? -- related problem...

visualstudio.net 2005 release data

connection between vb.net and sql

i need help regarding inheritence

manage stored procedure

disable debugging temp files

class member list - possible bug in vs2005

where is project file in vs 05

vs2005 - vb.net - stop continuos build ...

vs 2005 beta or ctp?

unable to change startup object for an application in visual c#

advice for starting a new site with vs.net 2005

missing website menu from visual studio 2005 project

#include statement is giving me problems using visual studio 2005

dximagetransform.microsoft.alphaimageloader problem in the vs2005 design time?

bug in vs2005 with css editing ?

compile error: not a valid win32 filetime. parameter name: filetime

edit and continue does not work - help!!!

move controls with arrow keys?

web deployment errors replacing connectionstrings after sp1 installed.

secure way of storing dsn

debugging in vs.net while making requests from the web

how to delete a project in vs 2005?

bug in vs 2005 css border tooltip help

edit and continue...

vs 2005 solution file format

help on which version to buy

lines of code count?

visual studio developer news unavailable on startup

vs 2005 and replace all chewing up cpu cycles

can't debug my program

disappointed..... can't reference control from code-behind page

installation of vs 2003 and 2005 together! is it possible?

visual web developer web server

ssl website on vs 2005

compiling and precompiling in vs2k5, .net 2.0

cant debug in asp.net(vb.net)

   
  Privacy | Contact Us
All Times Are GMT