Xcode. Xcode 디버깅 팁
Break Point 브레이크 포인트는 말 그대로 중단점이다. 코드를 실행하다가 지정해놓은 브레이크 포인트에 다다르게 되면 그 때 프로그램의 상태를 박제해 놓는다. 이렇게 박제해놓은 상태에서 디버깅을 진행하면 된다. 브레이크 포인트는 해당 라인에서 command + \ 를 누르거나 에디터의 라인 수를 보여주는 곳을 클릭하면 설정할 수 있다. Debugging Area Xcode에는 Debugging Area가 있다. 우리가 맨날 보는 바로 그것.. 안보인다면 cmd + shift + Y 를 누르면 보인다. 디버깅 영역에는 세가지 메인 컴포넌트가 있다. Debug Bar, Variables view, Console Debug bar에는 디버깅과 관련한 버튼들이 있다. Variables view는 코드의 현..
2019. 4. 22. 13:29