728x90
๋ฐ์ํ
๐งช debugging
- resume
- ๋ค์ break point๋ก ์ด๋
- Windows: F9
- Mac: โฅ + โ + R
- step over
- ํ์ฌ break๋ ํ์ผ์ ๋ค์ ๋ผ์ธ ์ด๋
- Windows / Mac: F8
- step into
- ํ์ฌ break๋ ๋ผ์ธ์์ ์คํ ์ค์ธ ๋ผ์ธ์ผ๋ก ์ด๋
- Windows / Mac: F7
- ex) UserService์ userDao.save() ๋ผ์ธ
-> step into
-> UserDao์ save() ๋ฉ์๋๋ก ์ด๋
- force step into
- stepping์ ์ค์ ๋ ํด๋์ค/๋ฉ์๋ ๊ณผ์ ์ ์คํตํ์ง ์๊ณ ํ์ฌ break๋ ๋ผ์ธ์์ ์คํ ์ค์ธ ๋ผ์ธ์ผ๋ก ์ด๋
(step into๋ ์คํตํ๋ค) - Windows: alt + shift + F7
- Mac: โฅ + โ + F7
- stepping์ ์ค์ ๋ ํด๋์ค/๋ฉ์๋ ๊ณผ์ ์ ์คํตํ์ง ์๊ณ ํ์ฌ break๋ ๋ผ์ธ์์ ์คํ ์ค์ธ ๋ผ์ธ์ผ๋ก ์ด๋
settings์ stepping์์ ์ค์ ๋ณ๊ฒฝ ๊ฐ๋ฅ
- step out
- ํ์ฌ break๋ ๋ผ์ธ์์ ํธ์ถํ ๊ณณ์ผ๋ก ์ด๋
- Windows: shift + F8
- Mac: โง + F8
- ex: UserService์ userDao.save() ๋ผ์ธ
-> step into
-> UserDao์ save() ๋ฉ์๋๋ก ์ด๋
-> step out
-> UserService์ userDao.save() ๋ผ์ธ์ผ๋ก ๋์์ด
(= step into๋ฅผ ํตํด ํ ํด๋์ค์ ๋ฉ์๋๋ฅผ ์ดํด๋ณด๊ณ ์์๋, step out์ ํตํด ํด๋น ๋ฉ์๋๋ฅผ ํธ์ถํ์๋ ์๋ ์์น๋ก ๋์์ฌ ์ ์์)
- drop frame
- step out์ ๋์ผํ ๊ธฐ๋ฅ
- step out์ฒ๋ผ ์๋ ์์น๋ก ๋์์ค์ง๋ง step out์ ํด๋น ๋ผ์ธ์ ์คํํ ํ, drop frame์ ํด๋น ๋ผ์ธ์ ์คํํ๊ธฐ ์ ์ผ๋ก ๋์์ด
- run to cursor
- ํฌ์ปค์ค ๋์ด์๋ ๋ผ์ธ์ผ๋ก ์ด๋
- Windows: alt + F9
- Mac: โฅ + F9
- evaluate
- ํ์ฌ ์์น์์ ์ฝ๋ ์คํ (ํ๋จ์ ์ด๋ฏธ์ง ์ฐธ๊ณ )
- Windows: alt + F8
- Mac: โฅ + F8
์คํ ์์ ์ด์ ์ ๋ณ์๋ฅผ ์์ ๋กญ๊ฒ ์ฌ์ฉํ ์ ์๋ค.
๋ฉ์๋๋ ์์ ๋กญ๊ฒ ํธ์ถํ ์ ์๋ค.
๐ป ๋๋ฒ๊น ์ฐฝ ์ดํด๋ณด๊ธฐ
https://yeonyeon.tistory.com/239
728x90
๋ฐ์ํ
'Android' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
wifi direct (p2p) ์ ๋ฆฌ (0) | 2024.02.23 |
---|---|
Android AudioRecode PCM to wav (0) | 2024.02.19 |
android.hardware.usb.action.USB_ACCESSORY_ATTACHED (0) | 2024.01.23 |
Android Swtich ์ค์์น ( ์ปค์คํ ) (0) | 2024.01.11 |
Android cutout ์์ญ ( IOS์ ๋ ธ์น ์์ญ ) (0) | 2023.09.06 |