Hi guys,
i wanted to share how can we debug unity in visual studio.
it will be really great when we can debug our unity code in real time, the issue that i have with tutorial post on debugging in visual studio, is the pre-requirements are not so clear to me.
so i decided to make a post on this blog so that the next person who wants to debug unity in visual studio able to do so in short time....
i wanted to share how can we debug unity in visual studio.
it will be really great when we can debug our unity code in real time, the issue that i have with tutorial post on debugging in visual studio, is the pre-requirements are not so clear to me.
so i decided to make a post on this blog so that the next person who wants to debug unity in visual studio able to do so in short time....
- We need to install the Visual Studio 2015 Tools for Unity
- We need to configure the tools in Unity and open project in visual studio as below doc
- Add breakpoints in our code editor
- Finally after we already open in visual studio notice that we can run the unity player from vs2015... select attach to Unity and Play
- Make sure the unity is instance is there at the background
- Notice that the unity player started and the code line are stopped at the called breakpoints
Thats all!..
Have a try peeps.
Comments
Post a Comment