Search Unity

Not Hitting Breakpoints on iOS Device?

Discussion in 'Editor & General Support' started by eshan-mathur, Aug 13, 2019.

  1. eshan-mathur

    eshan-mathur

    Joined:
    Nov 22, 2011
    Posts:
    118
    I'm not sure why, but all of a sudden I'm no longer able to hit breakpoints when debugging on my iPhone XS device. I am using a Development build with script debugging enabled, using the Debug configuration/scheme in Xcode. I'm able to attach the debugger to the device (in theory, it shows up as an option and says its attached anyway), but I'm unable to get it to hit any breakpoints.

    Unity 2018.4.1f1, and the version of Visual Studio that came with it.

    I've tried deleting solution and .csproj files and regenerating, as well as reinstalling Visual Studio.

    What are the next steps to figuring out why breakpoints aren't being hit?

    iOS is on latest version, 12.4.
     
  2. eshan-mathur

    eshan-mathur

    Joined:
    Nov 22, 2011
    Posts:
    118
    Bump, still having this issue. Now on Unity 2018.4.7f1

    Additional info: after a few minutes, VS says "Cannot connect to debugger", and removes the attachment.
     
  3. eshan-mathur

    eshan-mathur

    Joined:
    Nov 22, 2011
    Posts:
    118