Title: RE: [MSVC] [Slightly OT] Finding bugs

OK - take this example ... I had written a COM object to be called from a VB client.  All was working OK- so I thought anyway.  Installed in a production environment, and then the developer of the VB client told me that his VB app would "do its job" correctly, but not exit, i.e. the .exe would hang around after all processing was complete.  We tracked it down to being a problem with my COM object, i.e. if the COM object was not called from the VB client then the VB .exe would exit as expected.

So how do you go about finding this??

Eventually I tracked it down to a(nother) 3rd party COM object that I was calling from my COM object - but by commenting out code until I found the problem ....

cheers, Craig

---
Craig Lemon, Information Developer,
Geodata Services, Christchurch City Council
PO Box 237, Christchurch, New Zealand
Ph: +64 3 941 8345 - Fax: +64 3 941 8384
mailto::[EMAIL PROTECTED]
---



-----Original Message-----
From: Phil Daley [mailto:[EMAIL PROTECTED]]
Sent: 23 April 2003 12:02 a.m.
To: [EMAIL PROTECTED]
Subject: Re: [MSVC] [Slightly OT] Finding bugs


At 04/22/2003 12:05 AM, Lemon, Craig wrote:


>How do you all go about this??
>
>You have a bug in your code somewhere, but you are not sure exactly where
>the problem lies.  How do you find the bug??

Depends on what the bug is.

Different types have differing solutions.

But I would never comment out blocks of code to try and find a bug.  That
is waaaay too slow.


Phil Daley          < AutoDesk >
http://personal.monad.net/~p_daley


**********************************************************************
This electronic email and any files transmitted with it are intended
solely for the use of the individual or entity to whom they are addressed.

The views expressed in this message are those of the individual
sender and may not necessarily reflect the views of the Christchurch
City Council.

If you are not the correct recipient of this email please advise the
sender and delete.

Christchurch City Council
http://www.ccc.govt.nz
**********************************************************************

Reply via email to