Cannot debug Dialog using Physical Device

EmanEman USMember ✭✭
edited October 2014 in Visual Studio

I created a dialog using these codes:

    Dialog dlg = new Dialog(this);
    dlg.SetTitle("Select Server");
    dlg.SetContentView(Resource.Layout.ServerUrlDialog);
    dlg.Show();

    Button dlgOk = dlg.FindViewById<Button>(Resource.Id.buttonDlgOk);
    Button dlgCancel = dlg.FindViewById<Button>(Resource.Id.buttonDlgCancel);
    EditText dlgSrvUrl = dlg.FindViewById<EditText>(Resource.Id.editTextServerUrl);

    dlgOk.Click += delegate
                {
                    if (string.IsNullOrEmpty(<Var>))
                    {
                        Toast.MakeText(this, "Server url should not be blank", ToastLength.Long).Show();
                    }
                    else
                    {
                        DisplayWebView(<Var>);
                        dlg.Hide();
                    }
                };

                dlgCancel.Click += delegate
                {
                    dlgSrvUrl.Text = "";
                    dlg.Hide();
                };

I added a breakpoint inside OK/Cancel and start my application, whenever I click the Ok/Cancel button, my application crash..
Could anyone had the same experience before?

Here is the logs and I cannot see any info pointing to right direction:


10-16 17:27:58.418 I/DEBUG (13346): memory map around fault addr 40045000:
10-16 17:27:58.428 I/DEBUG (13346): 40044000-40045000
10-16 17:27:58.428 I/DEBUG (13346): 40045000-40046000
10-16 17:27:58.428 I/DEBUG (13346): 40046000-40047000 /system/lib/libmedia_native.so
10-16 17:27:58.538 I/BootReceiver( 731): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
10-16 17:27:58.548 I/DEBUG (13346): !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 30577
10-16 17:27:58.548 D/CrashAnrDetector( 731): NO DROPBOX ENTRY for :SYSTEM_TOMBSTONE 1413451678555
10-16 17:27:58.548 W/DropBoxManagerService( 731): Dropping: SYSTEM_TOMBSTONE (10 > 0 bytes)
10-16 17:27:58.559 I/dumpstate(30837): begin
10-16 17:27:59.219 E/MP-Decision( 1702): num online cores: 2 reqd : 1 available : 4 rq_depth:0.000000 hotplug_avg_load_dw: 19
10-16 17:27:59.219 E/MP-Decision( 1702): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 total_time_down:245.000000
10-16 17:27:59.279 E/QcrilMsgTunnelSocket(29864): IOExceptionjava.io.IOException: No such file or directoryReason: No such file or directory
10-16 17:28:00.000 V/AlarmManager( 731): waitForAlarm result :8
10-16 17:28:00.010 V/AlarmManager( 731): ClockReceiver onReceive() ACTION_TIME_TICK
10-16 17:28:00.130 E/MP-Decision( 1702): num online cores: 1 reqd : 2 available : 4 rq_depth:5.900000 hotplug_avg_load_dw: 23
10-16 17:28:00.130 E/MP-Decision( 1702): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 total_time_up:146.000000
10-16 17:28:00.180 E/MP-Decision( 1702): num online cores: 2 reqd : 4 available : 4 rq_depth:4.300000 hotplug_avg_load_dw: 128
10-16 17:28:00.180 E/MP-Decision( 1702): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 total_time_up:0.000000
10-16 17:28:00.180 E/MP-Decision( 1702): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 total_time_up:190.000000
10-16 17:28:00.180 E/MP-Decision( 1702): UP cpu:3 core_idx:3 Nw:3.500000 Tw:90 total_time_up:141.000000
10-16 17:28:00.781 E/MP-Decision( 1702): num online cores: 4 reqd : 2 available : 4 rq_depth:1.000000 hotplug_avg_load_dw: 35
10-16 17:28:00.781 E/MP-Decision( 1702): DOWN cpu:3 core_idx:3 Ns:3.100000 Ts:240 total_time_down:245.000000
10-16 17:28:00.791 E/MP-Decision( 1702): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 total_time_down:245.000000
10-16 17:28:00.831 E/MP-Decision( 1702): num online cores: 2 reqd : 1 available : 4 rq_depth:1.200000 hotplug_avg_load_dw: 11
10-16 17:28:00.831 E/MP-Decision( 1702): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 total_time_down:0.000000
10-16 17:28:01.131 E/MP-Decision( 1702): num online cores: 1 reqd : 2 available : 4 rq_depth:2.100000 hotplug_avg_load_dw: 63
10-16 17:28:01.131 E/MP-Decision( 1702): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 total_time_up:98.000000
10-16 17:28:01.481 E/MP-Decision( 1702): num online cores: 2 reqd : 1 available : 4 rq_depth:0.000000 hotplug_avg_load_dw: 23
10-16 17:28:01.481 E/MP-Decision( 1702): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 total_time_down:340.000000
10-16 17:28:01.501 D/QSEECOMAPI: (30872): QSEECom_start_app sb_length = 0x8271c
10-16 17:28:01.501 E/QSEECOMAPI: (30872): Error::Failed to open /dev/qseecom device
10-16 17:28:01.511 D/QSEECOMAPI: (30872): QSEECom_start_app sb_length = 0x8271c
10-16 17:28:01.511 E/QSEECOMAPI: (30872): Error::Failed to open /dev/qseecom device
10-16 17:28:01.511 D/QSEECOMAPI: (30872): QSEECom_start_app sb_length = 0x8271c
10-16 17:28:01.511 E/QSEECOMAPI: (30872): Error::Failed to open /dev/qseecom device
10-16 17:28:01.511 D/QSEECOMAPI: (30872): QSEECom_start_app sb_length = 0x8271c
10-16 17:28:01.521 E/QSEECOMAPI: (30872): Error::Failed to open /dev/qseecom device
10-16 17:28:01.521 D/QSEECOMAPI: (30872): QSEECom_start_app sb_length = 0x8271c
10-16 17:28:01.521 E/QSEECOMAPI: (30872): Error::Failed to open /dev/qseecom device

Sign In or Register to comment.