I have problem with Delphi Mac OS X development. I get debug assertion failure error when I try to debug program. My application is just simple form where is few TLabel and TEdit component. Also there is two TImage components where is two images included. And there is also one TProgressBar component on my form. Connection between mac and my pc works ok. It tries to start application when I run it but it disappiers and Windows 7 and Delphi shows error debug assertion failure.
At first there was problem with deployment and my project file was corrupted so I created new project and then I added my old form to new project. After that compiling application works ok but now I get error message debug assertion failure.
I have Delphi XE5 and Windows 7 64-bit. Mac computer is macbook pro.
PAServer on OSX is a bit buggy and it sometimes crashes with these assertion failures. It's not your application that raises the assertion failure.
If PAServer crashes with an Assertion when trying to start your application, then I'd suggest the following: 1. Close Delphi and PAServer 2. Wait until both have completely shut down 3. Start Delphi and PAserver again Sometimes this already solves the problem.
If this does not help, try starting your application from OSX from the Terminal and see what happens. Chances are you see an access violation or similar printed to the terminal window. If that is the case you might have a bug in the initialization part of a unit. PAServer likes to crash with an assertion failure if that happens. You'll have to debug the start-up process of your application using F7 and F8. You might be able to speed this up by setting breakpoints in the initialization of some units.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With