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
1
Question by Omberone · Nov 19, 2013 at 11:13 AM · monodevelopdebuggingbreakpoint

Breakpoints stopped triggering in MonoDevelop 4.0.1

Hello! Been using Unity for a while now, and with the latest update we also received a new version for MonoDevelop. Breakpointing before 4.0.1 has been a charm, and attaching debugger hasn't been a problem. Now, however, it seems like I cannot trigger a breakpoint consistently. Sometimes it works, sometimes it does not. It's rather random in this regard, and I'm having trouble finding a correlation for the bug. I've tried to reinstall Unity and MonoDevelop to no avail. I've also repeatedly cleaned/rebuilt the solution, also to no avail. Does anyone else have these issues? I'm using Windows 7.

Comment
Add comment · Show 4
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 ACJoseph · Dec 01, 2013 at 04:37 PM 0
Share

I get this as well. It makes it very difficult to debug. I think your work around works...but its seems to be hit or miss.

avatar image hsmanfroi · Jan 26, 2014 at 06:52 PM 0
Share

Your fix works for me. What an annoying bug. It seemed to start happening to me after I hit a NullPointerException in the file.

avatar image moghes · Mar 06, 2014 at 02:55 PM 0
Share

@AC$$anonymous$$ your answer was not actually an answer to this post, I converted to a comment. Please use comments ins$$anonymous$$d :)

avatar image Krippy · Apr 25, 2014 at 04:06 PM 0
Share

Same issue here. Any fix on this? Seems like it's been a bug for a while now.

4 Replies

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

Answer by Omberone · Nov 19, 2013 at 10:40 AM

I solved it.

It appears that when this breakpoint-error occurs I have to go into monodevelop, alter a random file, focus unity, let it compile, go back into monodevelop and revert it (ctrl-z), save, focus unity, let it compile, and then attach a debugger. Let me know if you find a better solution.

Comment
Add comment · Show 2 · 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 mhicauber · Nov 20, 2014 at 02:38 PM 0
Share

Awesome. Weird but awesome ! Thanks a lot, was stucked with it.

avatar image breban1 · Sep 21, 2016 at 08:39 PM 0
Share

This problem happened to me recently in Unity 5.04.0f3 and this solution fixed it for me. Just wanted to let people know that this 1) Is still happening, and 2) This may be your temp solution.

avatar image
0

Answer by Archie888 · Jul 09, 2014 at 05:00 PM

When this happens to me, there is usually first a modal pop-up in Unity, talking about some issue with doing something with a file. If I press cancel in this pop-up, the debugging stops working normally. I noticed that if during this pop-up I focus on Monodevelop and close it (save files first!), focus on Unity, press Re-Try in the pop-up, and then re-open Monodevelop, I can debug normally again (attach to process first, of course).

Just wanted to share this tip.

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
avatar image
0

Answer by gooncorp · Oct 03, 2014 at 11:25 PM

thats the craziest thing i have ever heard this is clearly a broken feature why do they not just fix it? this is a necessary feature in monodevelop it breaks other features of the source code debugging as well.

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
avatar image
0

Answer by PsychoPsam · Dec 10, 2014 at 02:53 AM

Yep that works for me too. When I just typed loads of spaces into another file it popped up with a dialog top right asking me to convert all the line endings which I did. Perhaps this is main problem. Anyway - that solution works.

  1. 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).

  2. Save -> If the convert line endings dialog comes up ->Select convert all files.

  3. Jump back to Unity and the little spinner down bottom right goes aroundshowing the files are being compiled.

  4. Back in MonoDevelop hit the Play button to Attach to the unity process and the break points work.

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

26 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

Related Questions

The requested item has been unloaded 9 Answers

Why does monodevelop sets "pink", nonfunctioning breakpoints ? 1 Answer

Why does the debugger suddenly stop working 2 Answers

mono develop debugging stops on lines without breakpoints 2 Answers

Hitting Mono Breakpoint Crashes Unity 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