microsoft / microsoft/MIEngine

Debugging on iOS causes Visual Studio to not react anymore

Open
#633 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

To build and debug my iOS app, which is made up of Objective-C and C++ code, I'm using Visual Studio 2017 version 15.2 (26430.13) which is paired with vcremote running on a Mac mini (Intel Core i5, 8GB, HDD).

Building is working really well, I generally don't have problems there. However, the problem is that debugging with that constellation does not work reliably. Most of the time when I launch the debugger the iOS simulator is properly started on the Mac, my app is deployed and started but somehow Visual Studio does not respond anymore. It doesn't actually freeze in the sense that Windows detects that Visual Studio hangs and proposes to kill it, it's just that it does not react to input anymore. It's user interface is still properly visible, i.e. there are not rendering problems, etc. but Visual Studio does not respond anymore. All I can do in such a case is killing Visual Studio using Task Manager and try it again.

Paired with the mentioned Mac this happens several times before once in a while debuggung finally works. The interesting thing is that if I pair my Visual Studio with the MacBook of my colleague (same Wi-Fi network) it still happens but it happens with a much lower frequency. But anyway, with both Macs it does happen and can be reproduced easily.

Let me know if you need more specific information, I'm happy to provide it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the debugger launch with Visual Studio 2017 15.2, vcremote on a Mac, and the iOS simulator, comparing the two reported Mac setups. Investigate the debugger connection and UI responsiveness; done means the app launches under the debugger without Visual Studio becoming unresponsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp, ios, objective-c
Domain
desktop-dev, devtools, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.