티스토리 뷰

Programming Tip

[Unity] Debugging in Unity

dreamstalker 2016. 7. 7. 15:41

Debugging in Unity


1. Debug.Log


Clear: clear all messages in console
Collapse:
 Same messages are shown once
Clear On Play:
 All messages are removed when going to GamePlay.
Error Pause: When the log of
 Debug.LogError() is occurred, Game Scene is stopped.

Developing Tip:

1)       Click on Clear on play and make the previous messages remove automatically.

When executing,  never  confuse previous message to current message

2)  Active Error Pause and If an error is occurred, stop execution and fix the error. 


2. Click on
 Run->Attach to process and Connect Unity Editor and Mono Develop.

Set Break Point

Shortcut related to debuging


To stop debugging ,Menu->Run->Stop
 
Warning: Execute only one Unity Editor!! Don’t work correctly on more two Unity Editor


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함