- Home /
Question by
eshan-mathur · Aug 22, 2019 at 09:05 PM ·
visual studiodebugging
How to Trace Unity Callbacks (OnEnable, etc.)
What's the best way to figure out what is causing a Unity callback to get called? Specifically, I'm trying to figure out what is causing a gameobject to become active in the hierarchy. I tried sticking a breakpoint inside of OnEnable, but it doesn't seem to work - the stack trace is empty.
Using Visual Studio for Mac in 2018.4.7
Comment
Answer by ImPHL1 · Aug 22, 2019 at 11:58 PM
if you're using VS Code then you can use this video to fix you're problem : link text
@eshan-mathur well, if there is a "unity debug" extension for VS Code then there should be one for visual studio too. try this video : link text
I can debug just fine in VS. I’m specifically asking about these callbacks.
Your answer
