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 N3rdloop · May 07, 2013 at 10:57 AM · iphonemonodevelopdebugdebugger

Attaching MonoDevelop to iPhone?

Hello,

I've heard that it's possible to attach monodevelop to a build that's on the phone and start debugging from there, but I'm clueless on how to achieve this.

I've tried the 'Attach to Process' in Monodevelop and all I can see is the Unity Editor and another item that is null (mono).

What exactly is the procedure to achieve this? Should the game be running on the phone?

Please any help is appreciated as we're having some bugs in the game and we're not being able to pin them down.

Thanks in advance,

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 Marzoa · Oct 17, 2014 at 12:13 AM 0
Share

Similar problems here with an Android device.

With an Android emulator the device is seen by $$anonymous$$onodevelop, but it fails to attach the debugger to the process with a clueless and useless error message.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Graham-Dunnett · May 07, 2013 at 10:57 AM

http://docs.unity3d.com/Documentation/Manual/Debugger.html

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 N3rdloop · May 07, 2013 at 11:12 AM 0
Share

Thanks but I'm still getting problems, my game launches on iPhone, I press Stop in Xcode, go to monodevelop attach to process, but then I only find 2 items in the list, one is the Unity editor and the other one is called null (mono). I think it's the same problem discussed in this thread http://forum.unity3d.com/threads/163281-iOS-Remote-debugging

Thanks,

avatar image jjxtra · Jul 05, 2015 at 11:14 PM 0
Share

Link dead...

avatar image Face_Mcgace · Jan 20, 2017 at 03:41 PM 1
Share

Link is dead - this is why you don't post lazy links in a know-it-all manner. Ins$$anonymous$$d you could have reproduced knowledge but now we're left with this.

avatar image Unity-Nikos · Jan 20, 2017 at 03:57 PM 0
Share

Hi - try the updated link below (the only other answer with a link) and perhaps upvote it so it appears first in the list. Note that this covers a legacy topic but it is still valid as far as I am aware. Hope that helps. Cheers!

avatar image
0

Answer by Unity-Nikos · Dec 19, 2015 at 08:09 AM

http://docs.unity3d.com/432/Documentation/Manual/Debugger.html

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 Face_Mcgace · Jan 20, 2017 at 05:19 PM

Just in case anyone else stumbles upon this and finds the useless answers above you basically need one thing: go to player settings > Other Settings > Configuration, and change Scripting Backend from IL2CPP to Mono2x. This will allow you to attach the mono debugger to you iOS project. It's a big buggy but be patient and keep retrying and it'll work.

Note: Don't submit you official app with Mono2x - Apple expects your app to be running IL2CPP. Also some DLL's will break when you build (mine broke when using Amazon's AWS SDK). So just be aware of the caveats.

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

16 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

Related Questions

Debugging NullReferenceExceptions in iOS Games 2 Answers

Monodevelop attach Android player to process 1 Answer

How do you attach the script debugger to iPhone? 3 Answers

List Bug when using debugger 1 Answer

Mono Debugger Keeps Locking Up 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