質問編集履歴
5
タグ編集
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
4
プログラムを修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,11 +48,31 @@
|
|
48
48
|
|
49
49
|
Breakpointを設定して調査したところ、
|
50
50
|
|
51
|
+
下記のコードの
|
52
|
+
|
53
|
+
var ret = new List<T>(list.Count);
|
54
|
+
|
51
|
-
|
55
|
+
の実行時に落ちているようです。
|
52
56
|
|
53
57
|
```ここに言語を入力
|
54
58
|
|
59
|
+
public static List<T> copy(List<T> list)
|
60
|
+
|
61
|
+
{
|
62
|
+
|
55
|
-
var ret = new List<
|
63
|
+
var ret = new List<T>(list.Count);
|
64
|
+
|
65
|
+
foreach (var l in list)
|
66
|
+
|
67
|
+
{
|
68
|
+
|
69
|
+
ret.Add(l.Clone());
|
70
|
+
|
71
|
+
}
|
72
|
+
|
73
|
+
return ret;
|
74
|
+
|
75
|
+
}
|
56
76
|
|
57
77
|
```
|
58
78
|
|
3
エラーメッセージを修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,6 +32,14 @@
|
|
32
32
|
|
33
33
|
System.NullReferenceException: Object reference not set to an instance of an object
|
34
34
|
|
35
|
+
at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
|
36
|
+
|
37
|
+
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3969/44931ae8/source/xamarin-macios/src/UIKit/UIApplication.cs:79
|
38
|
+
|
39
|
+
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3969/44931ae8/source/xamarin-macios/src/UIKit/UIApplication.cs:63
|
40
|
+
|
41
|
+
at アプリ名.iOS.Application.Main (System.String[] args) [0x00008] in /Users/ユーザ名/アプリルートディレクトリ/iOS/Main.cs:17
|
42
|
+
|
35
43
|
```
|
36
44
|
|
37
45
|
|
2
タイトルを変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Xamarinデバッグ中に落ちるバグについて
|
1
|
+
Xamarin.forms デバッグ中に落ちるバグについて
|
test
CHANGED
File without changes
|
1
タグを追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|