Debug with breakpoint
self.itemArray.append(textField.text!)
전/후로 달라진 itemArray를 보고 싶은 경우 ??
1) 전
breakpoint 찍고나서, 디버그창에다가 print itemArray 치면 현재의 itemArray를 보여줌 (3가지)
2) 후
breakpoint를 무시하고 그 다음줄까지 쭉 실행시켜보고 싶으면 step over (디버그창의 왼쪽에서 두번째) 를 클릭해서 실행시킨뒤
다시 print itemArray로 출력해보면 됨.
'iOS > iOS Swift Udemy - AngelaYu' 카테고리의 다른 글
Section19. 248) 데이터베이스 소개 (0) | 2022.10.29 |
---|---|
Section19. 246) NSCoder로 데이터 인코딩/디코딩(save & load) (0) | 2022.10.28 |
iOS swift TableView - table cells must have reuse identifiers (0) | 2022.10.25 |
디버깅 5단계 (0) | 2022.10.24 |
iOS swift Int, Float 계산 순서 (0) | 2022.10.24 |