Hello All,
Our application is getting crashed on the below dlls randomly (PB 2022 build 1892)
PBDWE.dll
PBSHR.dll
LIBCEF.dll
KERNELBASE.dll
PBVM.dll
GDI32full.dll
UER32.dll
Most of the times it happens with PBDWE and PBSHR
I have tried
1. PB Debug which is not giving much info it shows only the dlls list
2. Profile tracing, the trace file is getting generated with all the PBL names but not showing any other info
When tried to load the trace file from Profile Trace View utility whereas it is showing CollectionTime = 0.0000
I would like to know how to do Profile Trace, is there any setup I have to do?
I have gone through the below link but still i am getting only the pbl names in the trace file.
Catching the Runtime Error in the Act - Tracing and Profiling Your Application at Runtime
Kindly advice me on this.
Thank you.
1. Yes, we are using user32.dll only for external functions but others we are not using in the power builder application but showing as crash faulting module.
2. Profile tracing is not working for me, I am using Windows 10 Enterprise. From the exe I am able to generate pbdebug file by using this comment prompt (app.exe /pbdebug) but it is actually too big and to generate it takes time.
So, I feel PBtrace will be helpful but I am not able to generate it.
I have enabled from System Options --> Profiling Tab --> checked Enable Tracing check box and provided the file name (marked all trace activities).
From the profile trace viewer nothing showing except CollectionTime = 0.0000
Thank you.
Ahhh - OK, I now see that your trying to perform an App Trace and not a Profile Trace.
For the "/pbdebug" trace failing, it could be that your missing a PB runtime DLL OR you have a runtime DLL in your App EXE folder that is *not from build 1892.
I would suggest validating your runtime on the PB App;s machine against this list ... https://docs.appeon.com/pb2022/application_techniques/PowerBuilder_runtime_files.html
HTH
Regards ... Chris
I am able to do PBDebug but I am not able to do Profile Trace in 64-bit version of PB 2022 build 1892.
Thank you.