• 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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



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

A node in a childnode? 1 Answer

Debugging NullReferenceExceptions in iOS Games 2 Answers

Mono Debugger Keeps Locking Up 1 Answer

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

Monodevelop doesn't launch Unity 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges