Quick Question: CPP target error while running


#1

Hi,

short question. I am playing with native targets android, macos.
Of course I do have an error.

Error : Invalid field: xyz

Is there a way to let openfl show the file and line where the error did occur?

Many thanx and

Best regards
Andreas


#2

There’s limits to how much information is available on the C++ target. Doing a debug build might help, or if you are targeting iOS, you should be able to do breakpoints and other additional debugging using Xcode.

I’d like to support Xcode for macOS builds in the future – the way we build now is much easier to support, but it is nice to have Xcode sometimes for things like this.

Do you support HTML5, or another target that might throw a similar error?


#3

Hi,

I found a work flow to find the issues I had on Android.
I just did not compile to Android but to MacOSX and worked with traces. Now using Xcode is a even better idea I guess. Will try that.
I can say that our game now starts to run on Android which is what I wanted to prove today.

OpenFL keeps it promises! Very nice!

Many thanx and

Best regards
Andreas