- Home /
How to attach debugger to built game
Is it possible to attach a .NET debugger to a built Unity game? If so, is there anything special you need to do for it to work? I briefly tried attaching VS2012 to a built game.
I know that it has loaded my assembly because I can see it in the log. Also the break point is opaque which usually means the PDB info is correct. But when I go 'Debug -> Break All' I get a 'code does not match debugger type' error.
Any thoughts?
Answer by RiesVriend · Jun 30, 2021 at 10:49 AM
Yes — See this checklist https://stackoverflow.com/questions/60272891/android-device-and-unity-connection-failure/68180675#68180675
Your answer
Follow this Question
Related Questions
Does Unity 3.2 support attaching the debugger to an external managed dll? 2 Answers
Run unit tests (nUnit) in debug mode (MonoDevelop) 0 Answers
Unity frame debugger somewhat less useful without timings? 1 Answer
Debugger crash with event BEX in StackHash (Unity 3) 1 Answer
Stepping in MonoDevelop Debugger takes a long time when using buttons 1 Answer