Bug 26306 - Unable to debug my application on the device
Summary: Unable to debug my application on the device
Status: RESOLVED FEATURE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 5.7
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2015-01-22 16:41 UTC by Satish Birajdar
Modified: 2015-02-17 12:13 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
build settings of the application (117.27 KB, image/png)
2015-01-22 16:42 UTC, Satish Birajdar
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description Satish Birajdar 2015-01-22 16:41:51 UTC
X. S. - 5.7 (Build 667)

Xamarin.iOS Version: 8.6.0.51 (Indie Edition)

Mono 3.10.0 

I am trying to debug my application on the device using the following steps: (with reference to the link (http://developer.xamarin.com/guides/ios/deployment,_testing,_and_metrics/debugging_in_xamarin_ios/))

1. I have selected the iPhone|Debug configuration option in the Project > Active Configuration menu.
2. Run->Upload to Device.
3. When the upload is done, I selected Run->Debug Application from the menu.

So in third step I am getting a box where it is asking me to select a file to debug. Well according to the documentation (above link) expected was to get pop-up saying Waiting for debugger.

I have attached the image of build settings if needed.

Thanks in advance.
Comment 1 Satish Birajdar 2015-01-22 16:42:38 UTC
Created attachment 9453 [details]
build settings of the application
Comment 2 Rolf Bjarne Kvinge [MSFT] 2015-01-23 05:07:14 UTC
What happens if you just do "Run->Start debugging"?
Comment 3 Jatin 2015-01-23 05:11:01 UTC
I have tried using the latest builds as well as the latest stables and was
unable to reproduce this issue. As every time it successfully Run >> Debug the
application.

I have followed the same steps as mentioned in the comment #0 and using the
same setting as mentioned in the screenshot.

Below is the screencast for the same:
http://www.screencast.com/t/DXSd1gcJME

Note: Please try again using the latest stable builds, i.e. (XS 5.7.0.661, XI
8.6.0.51, Mono 3.12.0.68) and check whether the issue still exist or not.

And if you still face the same issue, then it will be helpful if you provide
some more information in order to replicate the issue at our end:

1. Video demonstrating the issue.
2. Complete Build information from XS >> About Xamarin Studio >> Show Details
>> Copy Details.
3. IDE logs from XS >> Help >> Open Log Directory >> And provide the IDE logs
with the latest date.

As of now marking it as needinfo.

Build information:

=== Xamarin Studio ===

Version 5.7.1 (build 14)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
Runtime:
 Mono 3.12.0 ((detached/a813491)
 GTK+ 2.24.23 (Raleigh theme)

 Package version: 312000068

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.Mac ===

Version: 1.10.0.18 (Indie Edition)

=== Xamarin.Android ===

Version: 5.0.0.17 (Trial Edition)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
 Supported Android versions:
  2.3    (API level 10)
  4.0.3  (API level 15)
  4.1    (API level 16)
  4.2    (API level 17)
  4.3    (API level 18)
  4.4    (API level 19)
  4.4.87 (API level 20)
  5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin.iOS ===

Version: 8.6.1.19 (Trial Edition)
Hash: 80971a6
Branch: 
Build date: 2015-01-21 17:42:51-0500

=== Build Information ===

Release ID: 507010014
Git revision: a4dd61ad7f8b3695be4b17bcb5c3ae6b81438cf7
Build date: 2015-01-19 15:21:09-05
Xamarin addins: 081208fe3bbf40e24a562867c6c7fba20a9b94b6

=== Operating System ===

Mac OS X 10.10.0
Darwin 800BC.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 4 Satish Birajdar 2015-01-23 10:18:13 UTC
@rolfbjarne : when i do Run -> Debug Application, it gives up a Open dialog box asking to select Application file to select.
Comment 5 Rolf Bjarne Kvinge [MSFT] 2015-01-26 03:47:58 UTC
This looks like something in Xamarin Studio, re-assigning.
Comment 6 Jeffrey Stedfast 2015-01-26 14:09:37 UTC
Run -> Debug Application is meant to debug a *different* application than what is opened in your IDE.

Don't use the "Debug Application..." menu item. Use Run -> Start Debugging.
Comment 7 Jeffrey Stedfast 2015-01-26 14:11:00 UTC
The documentation you linked to says to use "Start Debugging" as well.

Think of "Debug Application..." as equivalent to Visual Studio's "Attach to Process..."
Comment 8 Satish Birajdar 2015-02-17 11:53:08 UTC
@comment 7 @Jeffrey my Start Debugging option is disabled, so can't use that option. Can you please tell me how to enable it, I am kind of new to that option because I used to debug on the simulator.
Comment 9 Jeffrey Stedfast 2015-02-17 12:02:42 UTC
If "Start Debugging" is disabled, then you are not using a Debug configuration for your build.

You need to use the build configuration drop-down menus next to the |> (play) button. Make sure to select "Debug". You probably have AppStore, Ad-Hoc, or Release selected.
Comment 10 Satish Birajdar 2015-02-17 12:13:38 UTC
yes I have selected "Debug" option.