I have just had my machine reimaged. After installing PowerBuilder 12.5.2 I am trying to debug an application that I developed more than a year again and I have been maintaining ever since.
This application was written in PB12.5.2 so this is not a conversion. Reinstalled everything as it was before the reimage. I am using PVCS Source Control. The very weird thing that is happening is when I try to debug it, it is calling my error handling function every time it hits a breakpoint and whenever I press the next button.
I put
messagebox ('','here')
as the first line of the open event of the application object and put a breakpoint on the second line of the application object. When I run the application in debug mode I get the message box then I get my error handling function at the breakpoint.
Then I put a breakpoint on the "messagebox ('','here')" line and the weirdness starts there. The error handling that it is calling is for the global transaction object I created. My object nv_transaction replace sqlca as the global transaction object.
The thing that baffles me is why I am getting sql errors on the first line of code which is a message box that doesn't reference any sql at all and it only is a problem during debug.
I have two machines with the same version of PB12 with the same source and that machine is doing the exact same thing?
OS is windows 7 enterprise service pack 1