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 Chris45215 · Jun 03, 2015 at 01:05 PM · debugbreakpoint

Not able to use Visual Studio as debugger, but it works as editor

Similar questions have been asked before, but I have not found any that have these specific problems.

When I work with my existing project, all script files open in Visual Studio 2013 like I want them to. Updates to the code are reflected in the game, as long as I build the scripts in Visual Studio. However, breakpoints are never caught in Visual Studio - even when placed within FixedUpdate or other functions that will always run.

In Edit -> Preferences -> External Tools, Visual Studio is selected as the script editor. However, in the Assets menu, the last item says "sync MonoDevelop project", rather than "sync Visual Studio project".

Inside Visual Studio, the green debug/run arrow button (you know the one) only says "Start".

These problems are identical for my old project and a new, fresh one. The problems also carry over when I transferred the project to my other PC. However, on that other PC, an older version of the project did interact with Visual Studio properly. With this older good project, the debug/run arrow says "Attach To Unity".

What step am I missing? Thanks,

Comment
Add comment · Show 1
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 gotoAndBliss · Sep 26, 2016 at 04:54 PM 0
Share

Any luck with this?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by CaptainMurphy · Jun 04, 2015 at 02:37 PM

Do you have the Unity Visual Studio tools installed and imported? I have found them to be very stable for debugging with VS2013.

https://msdn.microsoft.com/en-us/library/dn940025(v=vs.140).aspx

Comment
Add comment · Show 1 · 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
avatar image Chris45215 · Jun 07, 2015 at 05:13 PM 0
Share

Thanks, I re-installed it (as far as I can tell), but there is no change. I am using Visual Studio 2013 Ultimate. From Unity, when I click Visual Studio Tools -> Open in Visual Studio, I get a dialog saying "These projects are either not supported or need project behavior impacting modifications to open in this version of Visual Studio...". But, Visual Studio is still being used as the c# editor.

Thanks again,

avatar image
0

Answer by MikeNewall · Jun 03, 2015 at 07:57 PM

"Write and debug your Unity games using Microsoft Visual Studio"

http://unityvs.com/

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Monodevelop 4.0.1 breakpoints won't work. 0 Answers

VS 2013: Breakpoint only if an error happens 0 Answers

Debug breakpoints not breaking 0 Answers

Hitting Mono Breakpoint Crashes Unity 1 Answer

Visual Studio breakpoint freeze. 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