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 /
This question was closed Jan 15, 2014 at 10:19 AM by Benproductions1 for the following reason:

Question is off-topic or not relevant and/or duplicate

avatar image
5
Question by graslany · Dec 02, 2013 at 03:41 PM · monodevelopdebuggingdebuggerbreakpoint

Why does monodevelop sets "pink", nonfunctioning breakpoints ?

Hi all

I've been experiencing several annoying issues with Monodevelop since the version 4 is being included with Unity. One of the worst of these is related to setting breakpoints. As illustrated on the upper part of the image below, when you set up a breakpoint it is normally show in the margin as a solid red disc. When you disable the breakpoint, it becomes a red circle with a totally transparent inner part (as in the middle part of the image below).

Now when I set a breakpoint and then attach the debugger to the Unity editor (or if I attach then set a breakpoint), my breakpoints shows as a red circle with an semi-transparent pink inner color (as in the bottom part of the image below). And it does not work (the execution does not hangs on it) !

I've been trying to delete the compiled script and/or C# project files from my project, restarting unity, restarting monodevelop, etc ... nothing seems to work in a reliable way. Sometimes it works again as expected (with solid red breakpoints that work), and then it stops working again for no apparent reason. I wonder whever there is some logic in this ... interesting ... behaviour ?

alt text

bug.png (21.5 kB)
Comment
Add comment · Show 16
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 graslany · Dec 05, 2013 at 11:54 AM 0
Share

I just discovered that this problems seemed to happen with some files only : I could set at the same time functionnal breakpoints in one file and "useless" breakpoints in another.

Then I also figured out that some of my non-functional breakpoints turned into functional ones during execution : They started to be displayed as pink breakpoints, and after I stepped some frames, changed to solid red, functioning breakpoints. I wonder what the heck this means !?

avatar image Lyje · Dec 05, 2013 at 02:50 PM 0
Share

I have this issue very occasionally. Pink seems to mean that the debugger cannot listen to hooks in the process, so the breakpoint will not be fired. Why it happens, I don't know. It's happened to me a couple of times, and then a day later everything works again. Pretty sure it's a bug in $$anonymous$$D4.0.1.

avatar image TheMaster42 · Jan 15, 2014 at 09:18 AM 0
Share

Have this exact same problem. Just got it working for the first time by doing the save, compile, revert, compile steps found in this question: http://answers.unity3d.com/questions/578617/breakpoints-stopped-triggering-in-monodevelop-401.html

Still looking for a real fix.

avatar image TheMaster42 · Jan 15, 2014 at 09:25 AM 0
Share

unityAnswers is a site for questions "that are of interest to Unity users". http://answers.unity3d.com/page/faq.html

This question is regarding a situation specific to $$anonymous$$onoDevelop + Unity together as utility and debugger. It's highly relevant to users of Unity, since this appears to be a problem with the default Unity distribution currently.

avatar image graslany · Jan 16, 2014 at 08:08 AM 3
Share

I totally agree with you Benproductions1 in that if this question already existed elsewhere before this one should have not been created, this spreads the information over several places which is bad, and I guess that The$$anonymous$$aster42 also agrees with you on that. However if the other questions existed before they may not have been not very well referenced by the site's search engine at the time I created this one, since I looked up my problem and found nothing appropriate.

What we have today is a question that has a good amount of constructive comments, links to other questions with complementary information on the topic, and is well referenced by search engines as The$$anonymous$$aster42 said. Although I cannot have a totally objective opinion on the topic since I created it, this looks like the best answer today; this is not related to whever it was created by the rules at the start or not. Our ultimate common goal is not to remove duplicates, it is to make the answers base better. Removing duplicates is usually a good way to achieve this goal if you found older questions on this topic, but in this particular case the situation may be different. That's why we're suggesting to let this poor young question live :-)

Show more comments

1 Reply

  • Sort: 
avatar image
0

Answer by Benproductions1 · Jan 15, 2014 at 09:21 AM

This question is not specific to Unity and doesn't belong on it's website. Please ask the question on the relevant MonoDevelop or more general sites.

Comment
Add comment · Show 4 · 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 PsychoPsam · Dec 10, 2014 at 02:45 AM 0
Share

This solution works in a haxed sort of way.

In mono-develop open a file other than the one you are trying to set a breakpoint it, and type in some spaces somewhere (so you don't need to undo). Save -> If the convert line endings dialog comes up ->Select convert all files. Jump back to Unity and the little spinner down bottom right goes aroundshowing the files are being compiled. Back in $$anonymous$$onoDevelop hit the Play button to Attach to the unity process and the break points work.

avatar image qqdc · Dec 12, 2014 at 08:36 PM 0
Share

I just had this "pink breakpoint" problem. It turns out the dropdown in the top-left had got changed to be making release version. Once I changed it to back to "debug" version, the breakpoints worked again. I've also seen the advice to check project options and make sure debugging info is on, see http://stackoverflow.com/a/22848787/841830

P.S. Google points here as its top suggestion on this topic; very frustrating that I cannot leave a real answer! It seems to me that 90% of monodevelop users are using it for Unity development.

avatar image atr0phy · Mar 27, 2015 at 04:00 AM 1
Share

@Benproductions1 Pointless "answers" like yours help absolutely no one. $$anonymous$$embers of the Unity Development $$anonymous$$m encourage users to send bug reports due to $$anonymous$$onoDevelop issues like these to them for resolution. See http://forum.unity3d.com/threads/unity-4-3-debugging-editor-window-breakpoints-dont-work.211771/ So stop trying to speak for the Unity staff, you clearly have no clue what they are or are not willing to provide support for. And more importantly, stop trying to discourage people from seeking help.

avatar image bawenang · May 20, 2015 at 10:16 AM 0
Share

Just curious. So non Unity staff like Benproductions1 can close questions like this? I am having the exact same problem and I agree, despite this is not a Unity related problem, many people working with Unity is also using $$anonymous$$onodevelop. So that makes it a Unity problem indirectly. And the first web that Unity developer, like me and the poster, will browse for answer is Unity's web.

Follow this Question

Answers Answers and Comments

22 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

Related Questions

mono develop debugging stops on lines without breakpoints 2 Answers

Run unit tests (nUnit) in debug mode (MonoDevelop) 0 Answers

Breakpoints stopped triggering in MonoDevelop 4.0.1 4 Answers

Debugger not working in unity3D 4.1.3f 1 Answer

debugger halt after start(), can only resume in update 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