I'm having problem with VS2013 watches. For example a watch that adds two floats is ok but adding a double and a float is not. Why is that and what should be done? This is a game project using Unity3d and the .Net version is 3.5.
The Watch Window. The Watch Window allows you to see value of variables and expressions while debugging. It's kind of like the DataTip you get when hovering over a variable, except that you can write any expression you want. It's available from Debug | Windows | Watch | Watch 1 or Ctrl + Alt + W + 1.
Right click on the variable in code, and select "Add Watch" Right click on the variable in the "Locals" windows, and select "Add Watch" Type the variable name into a new row in the Watch pane itself.
I recommend you to use VS studio 2015 since unity recommends that version integrated with the vs studio tools for unity
where there is a lot of advanced debugging tools, just like rendering debug and everything is simplified for that version.
There is a tutorial about how to install that tools and connect them:
https://youtu.be/lKHCrRNTf_s?list=PLReL099Y5nRfseAg0k1SJOlpqdcsDs8Em
https://youtu.be/vAcSTo6w2Ts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With