Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11230] iOS: Device Debugger: no error message if connection fails

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-11-20T21:19:06.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2012 Sprint 24, 2012 Sprint 24 Core
ComponentsiOS
Labelsdebugger, ios-device-debugger
ReporterDustin Hyde
AssigneeMax Stepanov
Created2012-10-02T18:19:49.000+0000
Updated2014-06-19T12:44:34.000+0000

Description

During iOS device debugging, if the app launches and the session fails to connect to Studio, there is no immediate error message, only "Waiting for debugger to connect..." with a possible time-out. Steps to Reproduce: 1. Debug on iOS Device. 2. Install app to device. 3. Cancel debug process from Studio. 4. Launch app from device (knowing it should fail). Actual Result: "Waiting for debugger to connect..." and possible time-out. Expected Result: Immediate error (within 0 - 10 seconds, or whatever appropriate) indicating problem.

Attachments

FileDateSize
no error.png2012-10-02T18:19:49.000+000090346

Comments

  1. Max Stepanov 2012-11-16

    The purpose of displaying "Waiting for debugger" is to inform used about delay and ability to cancel it. We have no control over delay between launching debug session in Studio and launching app on device.
  2. Max Stepanov 2012-11-20

    I could easily add WiFI SSID to the dialog text on iOS. More than that, the implementation allows user to put app into background, go to System Preferences to change WiFi point and return back. Studio can for instance run:
       /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '/ SSID/ {print substr($0, index($0, $2))}'
       
    but there may be issues with Studio when the machine is wired instead.
  3. Max Stepanov 2012-11-20

    @Dustin, if you want WiFi networks displayed in iOS and TiStudio UIs, please create corresponding Feature requests.
  4. Dustin Hyde 2013-05-01

    The feature requests have been made. Closing this ticket.

JSON Source