Click here to Skip to main content
12,406,531 members (31,247 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
QuestionAutomated way of checking if all instances of a type have been properly disposed of [modified] Pin
Vikram A Punathambekar19-Jan-09 5:42
memberVikram A Punathambekar19-Jan-09 5:42 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
leppie19-Jan-09 5:50
mvpleppie19-Jan-09 5:50 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar19-Jan-09 5:55
memberVikram A Punathambekar19-Jan-09 5:55 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
leppie19-Jan-09 5:58
mvpleppie19-Jan-09 5:58 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar19-Jan-09 6:08
memberVikram A Punathambekar19-Jan-09 6:08 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Rob Philpott19-Jan-09 6:38
memberRob Philpott19-Jan-09 6:38 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
leppie19-Jan-09 6:45
mvpleppie19-Jan-09 6:45 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar19-Jan-09 16:18
memberVikram A Punathambekar19-Jan-09 16:18 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Rama Krishna Vavilala19-Jan-09 6:48
memberRama Krishna Vavilala19-Jan-09 6:48 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar19-Jan-09 16:16
memberVikram A Punathambekar19-Jan-09 16:16 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Gary Wheeler19-Jan-09 6:48
memberGary Wheeler19-Jan-09 6:48 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
digital man19-Jan-09 7:00
memberdigital man19-Jan-09 7:00 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Gary Wheeler19-Jan-09 7:15
memberGary Wheeler19-Jan-09 7:15 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
digital man19-Jan-09 7:54
memberdigital man19-Jan-09 7:54 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar19-Jan-09 16:06
memberVikram A Punathambekar19-Jan-09 16:06 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Adar Wesley21-Jan-09 11:58
memberAdar Wesley21-Jan-09 11:58 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
John C19-Jan-09 9:44
memberJohn C19-Jan-09 9:44 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Chris Maunder19-Jan-09 11:55
adminChris Maunder19-Jan-09 11:55 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar19-Jan-09 16:04
memberVikram A Punathambekar19-Jan-09 16:04 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Ennis Ray Lynch, Jr.19-Jan-09 16:02
memberEnnis Ray Lynch, Jr.19-Jan-09 16:02 
JokeRe: Automated way of checking if all instances of a type have been properly disposed of Pin
PIEBALDconsult20-Jan-09 8:50
memberPIEBALDconsult20-Jan-09 8:50 
AnswerRe: Automated way of checking if all instances of a type have been properly disposed of Pin
S. Senthil Kumar19-Jan-09 22:11
memberS. Senthil Kumar19-Jan-09 22:11 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar20-Jan-09 6:04
memberVikram A Punathambekar20-Jan-09 6:04 
Thanks for your reply, Senthil.

Making any changes to the type itself is out of question. I ploughed through the code today, adding Dispose() calls, and will see tomorrow if it has had any effect. If not, I'll go with your idea of logging the stack trace by inheriting the class (I hope they didn't seal it D'Oh! | :doh: ) and replacing all HDElement instances with my subclass.

Send me the link when your article is ready Wink | ;)

Cheers,
Vıkram.
I don't suffer from insanity, I enjoy every moment of it.

GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
S. Senthil Kumar29-Jan-09 7:53
memberS. Senthil Kumar29-Jan-09 7:53 
GeneralRe: Automated way of checking if all instances of a type have been properly disposed of Pin
Vikram A Punathambekar30-Jan-09 5:43
memberVikram A Punathambekar30-Jan-09 5:43 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160730.1 | Last Updated 30 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid