Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
QuestionWhere does the webbrowser keep images? Pin
aj.esler9-Dec-07 12:53
aj.esler9-Dec-07 12:53 
GeneralRe: Where does the webbrowser keep images? Pin
Christian Graus9-Dec-07 13:19
protectorChristian Graus9-Dec-07 13:19 
GeneralRe: Where does the webbrowser keep images? Pin
aj.esler9-Dec-07 13:47
aj.esler9-Dec-07 13:47 
GeneralRe: Where does the webbrowser keep images? Pin
Christian Graus9-Dec-07 13:49
protectorChristian Graus9-Dec-07 13:49 
AnswerRe: Where does the webbrowser keep images? Pin
aj.esler10-Dec-07 0:30
aj.esler10-Dec-07 0:30 
QuestionDatabase learning basics Pin
kingletas9-Dec-07 12:15
kingletas9-Dec-07 12:15 
GeneralRe: Database learning basics Pin
Christian Graus9-Dec-07 13:14
protectorChristian Graus9-Dec-07 13:14 
GeneralLocating objects that throw the NullReferenceException in Deployed Applications [modified] Pin
Brett Blatchley9-Dec-07 11:36
Brett Blatchley9-Dec-07 11:36 
When a NullReferenceException is thrown in a complex method, is there any way to query the exception (or something in the Diagnostics namespace) to get the name of the object that caused the problem? By name, I mean the name I gave the object in the source code (even the type would be helpful in finding the little bugger).

I've centralized my exception reporting in the IDE I've written so that my clients can give me a lot of details about the environment at the time of the exception, but the one thing I need in these cases is the name of the blasted object that somehow got "nulled." If I understand correctly, .Net assemblies store all these symbols, so it should have access to this at runtime outside of Visual Studio. (BTW, I'm using VS2005.)

Anyway, I have the sense that this is a noob question, but I've looked all over and can't find a way to do this. (Other than put a lot of custom debugging code into my app which is not really practical now that it's deployed in the field.)

Also, I realize that finding this sort of thing is pretty straight forword in small, less complex methods, but I'm having issues tracking-down the fault in bigger methods, outside the IDE's debugger.

Your help (and patience) is much appreciated! Smile | :) !

modified on Sunday, December 09, 2007 5:50:34 PM

GeneralRe: Locating objects that throw the NullReferenceException in Deployed Applications Pin
Christian Graus9-Dec-07 13:25
protectorChristian Graus9-Dec-07 13:25 
GeneralRe: Locating objects that throw the NullReferenceException in Deployed Applications Pin
Brett Blatchley9-Dec-07 17:58
Brett Blatchley9-Dec-07 17:58 
GeneralRe: Locating objects that throw the NullReferenceException in Deployed Applications Pin
mav.northwind10-Dec-07 2:22
mav.northwind10-Dec-07 2:22 
QuestionReusing a method that takes class as argument Pin
karthikde19809-Dec-07 11:27
karthikde19809-Dec-07 11:27 
GeneralRe: Reusing a method that takes class as argument Pin
Christian Graus9-Dec-07 13:16
protectorChristian Graus9-Dec-07 13:16 
GeneralRe: Reusing a method that takes class as argument Pin
Anthony Mushrow9-Dec-07 15:46
professionalAnthony Mushrow9-Dec-07 15:46 
GeneralRe: Reusing a method that takes class as argument Pin
Christian Graus9-Dec-07 16:23
protectorChristian Graus9-Dec-07 16:23 
Generalsize of a structure Pin
daavena9-Dec-07 8:22
daavena9-Dec-07 8:22 
GeneralRe: size of a structure Pin
Paul Conrad9-Dec-07 12:41
professionalPaul Conrad9-Dec-07 12:41 
GeneralRe: size of a structure Pin
Colin Angus Mackay9-Dec-07 14:36
Colin Angus Mackay9-Dec-07 14:36 
QuestionWPF hardware acceleration Pin
Bartosz Bien9-Dec-07 7:26
Bartosz Bien9-Dec-07 7:26 
GeneralRe: WPF hardware acceleration Pin
Christian Graus9-Dec-07 9:32
protectorChristian Graus9-Dec-07 9:32 
GeneralRe: WPF hardware acceleration Pin
CKnig9-Dec-07 18:37
CKnig9-Dec-07 18:37 
GeneralRe: WPF hardware acceleration Pin
Paul Conrad9-Dec-07 12:43
professionalPaul Conrad9-Dec-07 12:43 
QuestionPortable .Net?! Pin
Rojan Gh.9-Dec-07 3:26
professionalRojan Gh.9-Dec-07 3:26 
AnswerRe: Portable .Net?! Pin
Ri Qen-Sin9-Dec-07 3:59
Ri Qen-Sin9-Dec-07 3:59 
QuestionRe: Portable .Net?! Pin
Rojan Gh.9-Dec-07 4:21
professionalRojan Gh.9-Dec-07 4:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.