Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by ShaZe88 · Aug 24, 2014 at 12:05 AM · visual studioexceptiondebuggingbreakpoint

UnityVS not breaking on exception and missing debug info

I have made sure the exceptions were checked for thrown in the Debug -> Exceptions list and Visual Studio does not complain about any missing symbols, however I still get a lots of missing features when debugging:

  • Missing pretty much all the variables available within the scope during breakpoint

  • Unviewable variables such as Vector2

  • Exceptions are not causing a breakpoint

I am currently using VS2013 with the appropriate UnityVS plugin that was available through microsoft. I am unsure what could not be set properly, the project has been rebuilt many time, the debugger is attaching properly to the editor.

Currently my only solution is to debug under Monodevelop to get the entire information available in a breakpoint or catch exceptions.

Let me know if you have suggestions.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JLJac · Sep 22, 2014 at 12:32 AM 0
Share

I'm having the same problem with not being able to break on exceptions. You can create a try{} and catch{} block and place a break point in the latter, to at least be able to review the method input parameters, but yeah, not really a viable solution as you can't see what's happening at the actual problematic line. I'd too be super thankful if someone had a fix for this!

avatar image sailro · Sep 24, 2014 at 03:06 PM 0
Share

Exceptions are not yet supported.

variable related stuff are fixed in 1.9.2

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Shory90 · Jan 31, 2016 at 02:32 PM

Here you can find how to enable

Is experimental http://blogs.msdn.com/b/visualstudio/archive/2015/04/06/visual-studio-tools-for-unity-2-0-preview-2.aspx

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Cannot debug errors created by Debug.Assert() 0 Answers

Are conditional breakpoints when debugging in VS2017 working for you? 2 Answers

What is the best way for Debugging (hitting breakpoints etc.) methods with the [Command] attribute in Networkbehaviour classes? 2 Answers

How to have step by step debugging in Visual Studio? 3 Answers

VSTU support for MissingReferenceException 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges