
프로그램을 만들고 혹은 만드는 도중 디버깅을 하면 내가 만든 프로그램이 어떻게 돌아가는지 단계별 상황을 알 수 있다.
- 디버깅을 원하는 부분의 행 번호를 클릭하면 번호가 빨간 동그라미로 바뀐다.
그러고 나서 우측 상단 벌레 모양 아이콘을 클릭한다.

- 디버깅 창이 켜지면 꺾은 화살표로 표시된 ‘Step over’버튼을 클릭한다.
버튼을 클릭할 때마다 다음 단계로 넘어가는데 코드창에는 지금 어디를 보고 있는 지와 그곳에서의 변수의 값이 어떻게 변하는지 표시되고
아래에는 그 것들이 정리되어 표시된다.


Share article