티스토리 뷰
unreal-visual-studio-debugging
- this post covers
- how to debug unreal project using visual studio IDE
- environment
- Windows / 10
- Unreal Engine / 4.21.2
- Visual Studio / 2015 Professional
pre-task
- finish the tutorial of the document
- now you get the floating object with simple cpp codes
start-new-instance
- open the visual studio project of the unreal project
- close the unreal editor
- right click the game project and select "Debug/Start new instance"
- be careful whether the project you selected is the game project or the engine project
- now your visual studio entering in debug mode
- and new unreal editor instance is created
- this editor instance is linked with current debugging session
using-breakpoint
- play the game in the unreal editor
- the actor you made would be floating
- add a breakpoint in "AFloatingActor::Tick()"
- because the "Tick()" function is called each game loop, we should meet the breakpoint
- yeap, we have just met the breakpoint
- then you can look up the local variable
- perfect, they are the same value
- you can debug the unreal project like this way
caution
- the constructor is not actually called when the instance of the class is created
- so wanting stop the program exactly when the instance of the class is created, you should add a breakpoint in "BeginPlay()"
'Programming > Unreal' 카테고리의 다른 글
what-is-unreal-build-target (0) | 2019.07.31 |
---|
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- unity
- Anaconda
- unreal
- pclaf
- ATOM
- dll
- vscode
- visual-studio
- DirectX
- JIT
- WindowAPI
- CUDA
- lib
- C/C++
- Slack
- Python
- visualstudio
- NOX
- csharp
- A.I.
- Game
- windows
- CAFFE
- PopeTV
- cuDNN
- git
- Docker
- Hashtable
- tensorflow
- shader
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함