Debug on VS not stopping on breakpoints
I'm experienced in C++ and interactive debugging but I can't make this work in UE4. I followed the tutorials around.
Not stopping at all in there, and I know it's executing that. Anything I'm missing here?
[EDIT] Found this. Could this be a problem? https://answers.unrealengine.com/questions/330144/c-breakpoints-works-with-actors-does-not-with-func.html
Try to use :
#pragma optimize("", off)
//YOUR FUNCTION HERE
#pragma optimize("", on)
answered May 12 '17 at 11:56 AM
In order to debug with Visual Studio, go to your project folder and open the .sln, by double clicking on it:
This will open Visual Studio. Make sure on the top bar you have Debug/Development Editor selected. Win64. And the project name should be listed as well (by default). Then press the "Local Windows Debugger" button. This will launch your projects editor, where you can then use PIE to debug through your classes using Visual Studio:
answered May 12 '17 at 06:47 PM
ImVawx ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here