Unity Debugging Code - Stepping through code

How are you all debugging code so that you can step through the code line by line and see the results in Unity?

Thanks,

Vanz

Print logs to your console helps.

print("someBool" + someBool)

Yes obviously… that’s not “stepping” through code…

Hi Vanz,
Open your project in Mono Develop. Then hit play in the Unity Editor.
In Mono Develop select run attach to process… and select unity editor.
You can now use breakpoints in Mono Develop and step through code, watch variables, etc.

-kusako

This.
And it helps to do things in small steps, checking the code regularly.