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
0
Question by konistehrad · Aug 18, 2010 at 06:49 PM · monodevelopdebuggerbeta5

Unity3b5 + MonoDevelop; Breakpoints Fail to Set?

I'm attempting to debug a fairly large and expansive project with MonoDevelop, but I'm having problems getting the breakpoints I'm adding to actually take effect. I'm following the instructions in the "Debugger" section of the manual to the letter, and am using the special Unity3D version of MonoDevelop, and yet I receive the following errors in the "Application Output" window on debug execution:

Could not insert pending breakpoint at 'NPCState.cs:143'. Perhaps the source line does not contain any statements, or the source does not correspond to the current binary.
Could not insert pending breakpoint at 'NPCState.cs:84'. Perhaps the source line does not contain any statements, or the source does not correspond to the current binary.
Resolved pending breakpoint at 'NPCState.cs:143' to ILogicControlState`1 NPCState`2:FixedUpdate ():1141.
Resolved pending breakpoint at 'NPCState.cs:84' to ILogicControlState`1 NPCState`2:FixedUpdate ():515.

Despite its insistence that it has managed to resolve the breakpoints, they will not be hit during execution. Resyncing the project with MonoDevelop either pre- or post- debug does not seem to affect the situation.

Has anyone else encountered this problem?

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 qJake · Aug 18, 2010 at 08:47 PM 0
Share

Are you adding breakpoints to nonsensical locations? You can't add them on function headers or on a "}", for example. They need to be real, executable statements.

avatar image Proclyon · Nov 19, 2010 at 02:35 PM 0
Share

I add them to collades all the time without problems actually , but maybe by chance I haven't yet in monodevelop. Sure works in the standard VS .NET envi on a { or }

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Tak · Sep 14, 2010 at 08:09 AM

Those messages just mean that the breakpoints aren't found until your script assemblies are loaded by the editor, and then they're resolved once the assemblies are loaded. If the breakpoints aren't being reached, either the control flow isn't going there, or, as SpikeX mentioned, they don't indicate actual instructions that are getting executed.

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

No one has followed this question yet.

Related Questions

Unity3b7 MonoDevelop 2.4 Unity Connect to debugger. 1 Answer

Unity hangs when I try to Debug 1 Answer

Monodevelop attach Android player to process 1 Answer

Simulate Key presses in MonoDevelop ? 0 Answers

Must one migrate to C# from UnityScript to be able to use advanced tools? 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