I am trying to debug UE4.10.2 game project using Xcode 7.2. Stepping through code is not giving the value of variables correctly.
Before stepping the code begins, I get the warning: "UE4Editor-QuickStart.dylib was compiled with optimization - stepping may behave oddly; variables may not be available."
I have tried using as Build Configuration both the "DebugGame Editor" and "Development Editor" and they both seem to be not storing debug information.
Is there a way for getting the debug information back? I am just looking to step through the code and examine values of the variables. This worked perfectly well in UE4.8.3 and Xcode 6.4
asked Jan 28 '16 at 12:57 AM in Installation & Setup
It seems that with XCode, the commandline arguments are not changed by a config-by-config basis as they are with Visual Studio. This means that when you change to DebugGame or any configuration you wish to use, you'll need to also add the "-debug" commandline argument.
After doing that, the message disappeared for me and I was able to see my variables' values.
answered Jan 29 '16 at 09:05 PM
Matthew J ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here