Hi,
Hope you are well.
I am new on this forum, and this is my first post. So if I do something wrong, please tell me
For debugging purpose of my application, I was wondering if it there were any way to manage and track handle variable in Progress ABL.
The reason why : this Progress error message :
"
This error message can pop-up quite frequently. What is sad with this message is that it doesn't shows up which handle or object (yes, message is the same for class instances) is invalid when trying to access it.
I know it is a standard Progress error message and can't be improved. I also know it is possible to debug manually with some log messages.
But I just want to know if there is any way to find more easily why the error occurs, especially :
- which handle is invalid ;
- where the handle/object gets invalid (the procedure where it is deleted) ;
- possibly the reason why : if it is not a "DELETE OBJECT" statement, maybe the execution of a method, get or set of an attribute ;
Of course, this is very simple to find out in a single procedure. But it is harder when you have about 10 or 20 procedures, classes or includes and some of them executed on appserver side...
So I would like to know if there is any tool (from Progress or community) which can ease this work.
I thought about the debugger, but it is not applicable in my case (architecture issue).
I thought also about a library/classes with functions/methods which will wrap the handle methods/properties and the DELETE OBJECT statement and adding log messages each it is called. But I think it may decrease application performances quite a lot. I don't know if this already exists...
Configuration used : Progress Openedge 10.2B06 on Windows XP (5.1.26000:SP 3)
Thanks a lot in advance for you suggestions/support.
PS: I am french user, so sorry for my English
Hope you are well.
I am new on this forum, and this is my first post. So if I do something wrong, please tell me
For debugging purpose of my application, I was wondering if it there were any way to manage and track handle variable in Progress ABL.
The reason why : this Progress error message :
"
---------------------------
Error (Press HELP to view stack trace)
---------------------------
Invalid handle. Not initialized or points to a deleted object. (3135)
---------------------------
OK Help
---------------------------
"Error (Press HELP to view stack trace)
---------------------------
Invalid handle. Not initialized or points to a deleted object. (3135)
---------------------------
OK Help
---------------------------
This error message can pop-up quite frequently. What is sad with this message is that it doesn't shows up which handle or object (yes, message is the same for class instances) is invalid when trying to access it.
I know it is a standard Progress error message and can't be improved. I also know it is possible to debug manually with some log messages.
But I just want to know if there is any way to find more easily why the error occurs, especially :
- which handle is invalid ;
- where the handle/object gets invalid (the procedure where it is deleted) ;
- possibly the reason why : if it is not a "DELETE OBJECT" statement, maybe the execution of a method, get or set of an attribute ;
Of course, this is very simple to find out in a single procedure. But it is harder when you have about 10 or 20 procedures, classes or includes and some of them executed on appserver side...
So I would like to know if there is any tool (from Progress or community) which can ease this work.
I thought about the debugger, but it is not applicable in my case (architecture issue).
I thought also about a library/classes with functions/methods which will wrap the handle methods/properties and the DELETE OBJECT statement and adding log messages each it is called. But I think it may decrease application performances quite a lot. I don't know if this already exists...
Configuration used : Progress Openedge 10.2B06 on Windows XP (5.1.26000:SP 3)
Thanks a lot in advance for you suggestions/support.
PS: I am french user, so sorry for my English