PB 2017 R3/ W10/build 1858
I have been using PB Classic from 10.5, all versions up to 12.6, when finally migrating to 2017 R3.
Alle versions have had exactly the same annoying problem. PB frequently crashes when manually closing the debugger, and PB has to be re-started.
I have one easily reproducible such case that behaves in exactly the same way in 12.6 and R3:
When posting a function call in the open event of a window object (so that the open event concludes first), the debugger will crash anywhere within the scope of that function, when manually stopping debugging at a breakpoint or any step further. Clearing of breakpoints has no effect on this, neither reset to default layout, as some have suggested. As soon as the function has completed, this behaviour disappears. There is no code after the function post in the open event.
Can we hope for some progress here?
regards,
sverre
Did you replace your older PFC libraries with the PB2017 built ones from the PFC website?
Regards ... Chris
The latter is the key part that might be affecting the stability of your App as the older PFC might not have the best W10 SDK external function declarations or calling usage.
The other thing that I found with the PFC stability can be the use of non-PFC objects in your Apps. Ideally, all of your App's concrete (working) objects should be inherited from the PFE classes. However, I have seem Apps where objects were inherited from the PFC layer or worse yet from the "System Class" area, that caused stability issues.
The big stability issue I have encountered, can just be an abuse of the PFC by the App in question. Either not handling the service instantion correctly, instantiaring in the wrong place (event), service over usage, instantiating the same service on the same object class more than once, etc as just examples I have found that led to App stability issues.