|
-
Aug 27th, 2009, 09:50 PM
#14
Thread Starter
PowerPoster
Re: Get Calling Procedure On Error
Thanks all for responses.
Si:
[
That's a good idea, and is similar to what I do (for all finished code, not just in testing, but it seems that dw85745 is already doing something like it, albeit in a slightly less efficient way (by using a Type rather than parameters).
1) I opted for Type as it gives me more flexibility. I may or may not use certain of the Type variables depending on the procedure. If I go with Params it would be quite a long list -- or-- require Optional Params and I don't use variants.
2) Wrote a quick program and your correct line numbers worked in a compiled App. Just downloaded MZTool again as the one I installed several years back (and rarely use) didn't generate any line numbers.
============
pr1ngl3
Interesting idea to use a screen capture. Won't help my case but will keep info for future reference.
==============
Pradeep1210
Will check out MZTools for Stack Trace. Hope it will work compiled.
==============
My App runs 24/7 and out of this it is just generating about 20 errors a day and only this function.
which is called every few seconds. So obviously some odd condition since Error 6 and Error 11, which are both trapped.
Last edited by dw85745; Aug 27th, 2009 at 09:55 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|