swift デバッグlog確認方法

通常のデバッグ確認方法

f:id:happy_teeth_ago:20210309124940p:plain

右クリックで変数を表示できる

f:id:happy_teeth_ago:20210309134142p:plain

シュミレーターデバッグlogの確認方法

window > device and Sumilators

f:id:happy_teeth_ago:20190829225803p:plain

View Device Logs を選択

f:id:happy_teeth_ago:20190829230029p:plain

多少タイムラグがあので10秒くらい待ちます

目的のアプリを選択して右クリックからRe-Symbolicate Log

f:id:happy_teeth_ago:20190829230158p:plain

Logを見ないと、デバッグは無理