Skip to content

Wireless Debugging Warning Still Appears After Disabled in VS and XCode #4430

Closed
@PatrickRyder

Description

@PatrickRyder

Steps to Reproduce

  1. In XCode on Mac build server, check 'Connect via network'.
  2. In Visual Studio on PC, check 'Debug over WiFi'.
  3. Run iOS project on physically connected iPhone.

(I had some problems with this that are not relevant to this bug report. The problem I am reporting came when I tried to switch back to debugging using the USB-iPhone cable.)

  1. On PC, uncheck 'Debug over WiFi'.
  2. On Mac in XCode, uncheck 'Connect via network'.
  3. Run iOS project on physically connected iPhone.

Expected Behavior

Application should run with no warnings in the debug output about having to ignore the wifi connection because it is not enabled (see attached screenshot).

Actual Behavior

Application does launch but I get multiple warnings and pauses because it appears to attempt to debug via wifi, even though this is now disabled. I am not sure if the debug session runs via WiFi or USB but it does always work, so I am assuming these are just redundant warnings. It appears that once WiFi-debugging has been used once, turning it off is not recognised by all the code that should be responding to this switch.

I cannot easily check if the debugging the project I have on my PC on the Mac works as expected because I do not have enough disk space to install Visual Studio for Mac.

Creating a brand new project in XCode on the Mac appears to debug fine with the debug over WiFi option unchecked.

Environment

Microsoft Visual Studio Community 2017 
Version 15.7.5
VisualStudio.15.Release/15.7.5+27703.2042
Microsoft .NET Framework
Version 4.7.03056

Installed Version: Community

C# Tools   2.8.3-beta6-63029-08. Commit Hash: e9a3a6c0ba5b1fde8b1fff964bdfb3fb768ee2eb
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Merq   1.1.19-rc (a4ffc1b)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio   4.10.5-pre (ab58725)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

SQLite & SQL Server Compact Toolbox   4.7
SQLite & SQL Server Compact Toolbox adds scripting, import, export, rename, query execution and much more to SQL Server Compact & SQLite Data Connections.

Visual Basic Tools   2.8.3-beta6-63029-08. Commit Hash: e9a3a6c0ba5b1fde8b1fff964bdfb3fb768ee2eb
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 10.1 for F# 4.1   15.7.0.0.  Commit Hash: 173513e369ffb7a1c4d5dccf83696d9aac2ab2d0.
Microsoft Visual F# Tools 10.1 for F# 4.1

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

vsFunnel   1.5.32
Decrease solution loading and re-compilation times dramatically by filtering projects not relevant for the current task. 
For more information about Funnel, see the website at http://www.vsfunnel.com
Copyright © 2013-2016. All rights reserved.

Xamarin   4.10.10.2 (35a01d8dc)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.12.1 (f3257e429)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   8.3.3.2 (HEAD/dffc59120)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   11.12.0.4 (64fece5)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

2018-07-11_12-26-05.9608.Ide.log
debugoutput
visualstudio
xcode

Build Logs

Example Project (If Possible)

VS bug #646657

Metadata

Metadata

Assignees

Labels

enhancementThe issue or pull request is an enhancementiOSIssues affecting iOS

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions