do stop-after 60 on stop undo, return:
<your code>
end.
I thought the stop-after option is intended to provide this ?
(Throw a stop condition after 60 seconds)
Setting startup parameters in Eclipse should be simple.
Just open properties of your project and there you can set properties for OpenEdge, including startup parameters.
Nice to know:
when i run with the -nogc startup parameter i no longer see the issue.
But the class containing my static property only has static methods. It is never instantiated. Why would garbage collection even touch it ?
I tried the singleton approach, although not exactly as you describe it, only to see the garbage collector throw away my singleton class at some point.
That is why is went to static.
A static property is what i need.
I changed the variable into a property.
define protected static property vcDemo as character init "<empty>" no-undo get. set.
But this does not help.
I set the property in the appserver startup procedure.
At first it returns correct value.
After some time it...
In my code i have a static variable, something like
define protected static variable vcDemo as character init "<empty>" no-undo.
I assign a value to this variable in the appserver startup procedure.
I would expect i can use the value of this variable anywhere in my code any time.
What i see is...
Confirmed, my client (OE 11.3.1 on windows) crashes when i do a syntax check on this code. :eek:
(also when i syntax check without any database connection)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.