- Daniel Vivier
- PowerBuilder
- Saturday, 19 June 2021 05:44 PM UTC
I'm seeing some weird behaviour where I suddenly get null object references on instance variables in an object. When I see it in the debugger, all instance variables have disappeared.
One example is I detect a problem, put up a messagebox (at which point the instance variables are still there), then pretty much the next line references an instance variable and crashes because all of the object's instance variables have disappeared! (It's not just that they are null - the Instance panel in the debugger is completely empty.)
I have done a full build on the project, so I know it's not incompatible code or something like that.
I'm assuming it's some sort of memory corruption but I can't imagine what is doing it at exactly that point in the code.
Any hints about what to look for that could be doing this?
I'm using PB 2019 Build 2082.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.