Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1-js/03-code-quality/01-debugging-chrome/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ debugger 명령어를 사용하면 브라우저를 켜 개발자 도구를 열

2. **`Call Stack` -- 코드를 해당 중단점으로 안내한 실행 경로를 역순으로 표시합니다.**

실행은 `index.html` 안에서 `hello()`를 호출하는 과정 중에 멈췄습니다. 함수 `hello` 내에 중단점을 설정했기 때문에, 콜 스택(Call Stack) 최상단엔 `hello`가 위치합니다. 함수 `hello`는 `hello.js`에서 정의하지 않았기 때문에 콜 스택 하단엔 'anonymous'가 출력됩니다.
실행은 `index.html` 안에서 `hello()`를 호출하는 과정 중에 멈췄습니다. 함수 `hello` 내에 중단점을 설정했기 때문에, 콜 스택(Call Stack) 최상단엔 `hello`가 위치합니다. 함수 `hello`는 `index.html`에서 정의하지 않았기 때문에 콜 스택 하단엔 'anonymous'가 출력됩니다.

콜 스택 내의 항목을 클릭하면 디버거가 해당 코드로 휙 움직이고, 변수 역시 재평가됩니다. 'anonymous'를 클릭해 직접 확인해 봅시다.
3. **`Scope` -- 현재 정의된 모든 변수를 출력합니다.**
Expand Down