>A-hah. Uhhmmmm... still got nothin'
><g>... But I still don't get the
>sense that you've isolated the failure
> point anywhere near enough.
Agreed - I hope my somewhat labor intensive DBIN DBOUT individual thread
logging mechanism can help - it's a bit to implement admittedly but it's
paid back that in saved time many times over because I can say run two
threads and when the program crashs I have logs from EACH thread and
where they "stopped" gging.. that narrows it down a lot.
One thing I didn't mention was that you can use it multiple times in one
function kinda of like one might
use breakpoints in a decent IDE. This helps me identify where the
failures are..
e.g.
...
{$IFDEF
DBINDBOUT}p_Context.JTHREAD.DBIN(201002061840,'CallSomeProcedurethatISuspectAFail',SOURCEFILE);{$ENDIF}
CallSomeProcedurethatISuspectAFail;
{$IFDEF
DBINDBOUT}p_Context.JTHREAD.DBOUT(201002061840,'CallSomeProcedurethatISuspectAFail',SOURCEFILE);{$ENDIF}
{$IFDEF
DBINDBOUT}p_Context.JTHREAD.DBIN(201002061841,'CallAnother',SOURCEFILE);{$ENDIF}
CallAnother;
{$IFDEF
DBINDBOUT}p_Context.JTHREAD.DBOUT(201002061841,'CallAnother',SOURCEFILE);{$ENDIF}
>It always seems like that, yet 8/9 times
>out of 10 (in problems with this
>smell), it falls far short of horribly
>complex to be satisfying! For me,
>it often comes down to, "Jeez! All
>that, for just this?!?"
SO FREAKING TRUE! 99% of the time for me on those toughies...
(That's why I wrote that little DBIN DBOUT thing when fighting one of
those -
it helped me too.. and I located the issue pretty quick once I bit the
bullet
and implemented it.)
>No matter. Nowadays, maybe we
>should pour the beers WHILE
>attempting to solve the problem,
>not in celebration of its
>solution <g>. Yup. Sounds good
>to me. I'm headin' for the bar...
HERE HERE! LOL!
--Jason
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public