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 pixartist · Apr 20, 2014 at 08:46 PM ·

Breakpoints not working ! (monodevelop)

Hi, today breakpoints in mono suddenly stopped working. This is a major problem, I can't continue developing like this. I searched for fixes but could not find anything that works for me. Is this a know problem? How can I fix it?

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 breban1 · Sep 21, 2016 at 05:23 PM 0
Share

@pixartist I am having the same problem. I see a red dot with a white circle in the middle ins$$anonymous$$d of a 'target' symbol. Did you ever figure out a way to fix this?

UPDATE: Found this http://answers.unity3d.com/questions/578617/breakpoints-stopped-triggering-in-monodevelop-401.html and it solved my problem for now.

1 Reply

· Add your reply
  • Sort: 
avatar image
5
Best Answer

Answer by kacyesp · Aug 21, 2014 at 09:37 PM

I found a solution that worked for me on this forum: http://forum.unity3d.com/threads/4-3-x-monodevelop-breakpoints-not-working.215444/

  1. Delete all files in Library/ScriptAssemblies.

  2. Then right click on the folder containing your scripts and click reimport or restart Unity.

Source of the problem: You recompiled the code while debugging. Just don't change the code while Monodevelop is attached to the process. Detach it before making any changes. This won't always cause the problem to happen. There is a chance it will cause it depending on what's going on under the hood of Monodevelop, which is why your breakpoints will "sometimes" not work.

Comment
Add comment · Show 7 · 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 Haelix · Dec 08, 2014 at 05:26 AM 0
Share

Thanks, this is the first solution to this problem that has worked!

avatar image BlackPanda Haelix · Jan 22, 2015 at 06:29 AM 0
Share

Please make this a comment to the actual solution.

avatar image Serinx · Jan 22, 2015 at 06:16 AM 0
Share

Thanks man :)

avatar image breban1 · Jun 12, 2016 at 08:31 PM 0
Share

Step 2 alone worked for me, thanks! BTW, I did change code in $$anonymous$$ono and build while debugging.

avatar image Zynek · Nov 14, 2016 at 10:28 PM 0
Share

Thank you !

avatar image donzaemon · Jul 01, 2017 at 12:55 AM 0
Share

This didn't work for me (in a newer version), but then I realized that my script was no longer attached to my script manager object ... re-attaching it got all the breakpoints working again. The mystery is why they were working and suddenly stopped, maybe it was attached and it detached for some reason or maybe I just had all my breakpoints on other scripts and tricked myself into thinking it was attached all morning ... don't know, but this is something else to check.

avatar image Bunny83 donzaemon · Jul 01, 2017 at 01:14 AM 0
Share

A common mistake is attaching a script at runtime. You think you have attached it to the object but when you stop playmode the script is gone since you attached it at runtime. That's why it's important to setup a noticeable playemode tint color. I usually use some sort of light red color.

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

27 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Only detecting collision from the bottom. 2 Answers

Unity project wont open 4 Answers

SetActive is broken 0 Answers

NullReferenceExceptions. Dont know how to fix... 3 Answers

Camera/Movement Script not working 1 Answer


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