jacksondunstan / UnityNativeScripting

Unity Scripting in C++
https://jacksondunstan.com/articles/3938
MIT License
1.33k stars 135 forks source link

How to debug in C++? #33

Closed kitsek closed 5 years ago

kitsek commented 5 years ago

newbie question. get it running under macOS, wanna debug with Xcode.

jacksondunstan commented 5 years ago

Here are the steps:

  1. Click the Debug menu (on the top bar)
  2. Point at Attach to Process
  3. Choose Unity
  4. Set a breakpoint
  5. Run in the editor to execute the breakpoint code
  6. Debug in Xcode

Screenshot: Debugging_UnityNativeScripting