๋ชฉ์ฐจ
1. ๋๋ฒ๊น (debugging) ๋๋ ๋๋ฒ๊ทธ(debug)
์ปดํจํฐ ํ๋ก๊ทธ๋จ ๊ฐ๋ฐ ๋จ๊ณ ์ค์ ๋ฐ์ํ๋ ์์คํ ์ ๋ ผ๋ฆฌ์ ์ธ ์ค๋ฅ๋ ๋น์ ์์ ์ฐ์ฐ(๋ฒ๊ทธ)์ ์ฐพ์๋ด๊ณ ์์ ํ๋ ์์ ๊ณผ์
2. ๋๋ฒ๊ทธ ํ๋ ๋ฒ
2.1. ๋๋ฒ๊ทธ ํ๋ ค๋(์ค๋ฅ์ง์ ์ด๋ผ ์์ธก๋๋) ๋ผ์ธ์ผ์ชฝ ๋๋ฒํด๋ฆญ
2.2. Server ํญ> ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ํด๋ฆญ > Debug(Ctrl + Alt + D)
2.3. ์นํ์ด์ง(์ฝ๋๊ฐ ๋์๊ฐ ์ ์๋๋ก) ์ ์ ์คํ
2.4. ๋๋ฒ๊น (ํฌ์ธํธ ๋ง๋ ์ฝ๋๊ฐ ๋์๊ฐ๋ ์ก์ ์ ์ทจํ ๋) ์๋ด์ฐฝ ๋ฐ์ > Switch
This kind of launch is configured to open the debug perspective when it suspends.
This debug perspective is designed to support application debugging.
it incorporates views for displaying the debug stack, variables and bearkpoint management.
Do you want to switch to this perspective now?
swtich
/*
์ด๋ฌํ ์ข
๋ฅ์ ์์์ ์ผ์ ์ค๋จ๋ ๋ ๋๋ฒ๊ทธ ๊ด์ ์ ์ด๋๋ก ๊ตฌ์ฑ๋ฉ๋๋ค.
์ด ๋๋ฒ๊น
๊ด์ ์ ์ ํ๋ฆฌ์ผ์ด์
๋๋ฒ๊น
์ ์ง์ํ๋๋ก ์ค๊ณ๋์์ต๋๋ค.
๋๋ฒ๊ทธ ์คํ, ๋ณ์ ๋ฐ ๋นํฌํฌ์ธํธ ๊ด๋ฆฌ๋ฅผ ํ์ํ๊ธฐ ์ํ ๋ทฐ๋ฅผ ํตํฉํฉ๋๋ค.
์ง๊ธ ์ด ๊ด์ ์ผ๋ก ์ ํํ์๊ฒ ์ต๋๊น?
*/
2.5. ๋๋ฒ๊ทธ ๋ชจ๋๋ก ์ ํ๋จ(ํ์ธ)
2.6. ๋๋ฒ๊น ํฌ์ธํธ์ดํ๋ก Step into(`F5`) or Step over(`F6`)๋ฒํผ์ผ๋ก Variables(๋ณ์) ํ์ธ
2.6.1. Step into(`F5`): ๋ฉ์๋ ๋ด๋ถ๊น์ง ๋๋ฒ๊น
2.6.2. Step Over(`F6`): ๋ฉ์๋ ๋ด๋ถ ์ ์ธ ๋ค์ ๋จ๊ณ
2.7. ๋ณ์ ๊ฐ ํ์ธ ํ ๋๋ฒ๊ทธ ๋ชจ๋ ์ข ๋ฃ Terminate(`Ctrl` + `F2`)
'โ ๊ธฐ๋กํ๊ธฐ + > ์๋ฉด ์ข์ ๋ด์ฉ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[intellij] ํ๊ฒฝ์ค์ ๋ด๋ณด๋ด๊ธฐ, ๊ฐ์ ธ์ค๊ธฐ(Export Setting, Import Settings) (0) | 2024.04.22 |
---|---|
[intellij] mysql JDBC ์ฐ๋ (0) | 2024.04.16 |
ํ๋ก์ ํธ ํ๊ธฐ๋ฅผ ์์ฑํ๋ค๋ฉด, ์ด๋ป๊ฒ ์์ฑํด์ผํ๋์ง (0) | 2023.10.16 |
์ปค๋ฐ ๋ฉ์ธ์ง (0) | 2023.09.17 |
[์จ๋น๋] ๊ฐ๋ฐ์ ์ง๋ง์์ด ๊ผญ ์์์ผ ํ 3๊ฐ์ง (0) | 2023.09.13 |