I want to produce an error in my PowerBuilder code that would create a Memory Dump File (.dmp). I tried dividing an int by 0, but I just get this error popup and no .dmp file. In C++, diving by 0 creates a memory dump file so I am not sure why it doesn't work for PowerBuilder. Does anyone know what error I can use to generate a .dmp file?
My purpose for this is to analyze a simple Memory Dump file with a known error.
I suspect there is but noshing i've tried like this before has rendered an O/S dump.
Hopefully, some other C++ Guru's will "chime in" on this one.
Regards ... Chris
I think I exhausted all the different ways I can do that with C++. But is there a way to turn off PowerBuilders internal try...catch. I found some information that I can use "SET TRY/CATCH OFF" , to turn off the try..catch but I haven't been implement it at all. Is this something you might be familiar with?
FWIW: I have never heard of this option. :-(
There is a "IsTryCatch" setting in the PB.INI ... https://docs.appeon.com/pb2022/pbug/PBINI_settings.html
However that is for use in the DotNetObject object class.
Regards ... Chris