---
title: "UE 移动设备调试"
author: "Perrin Yong"
author_profile: https://www.pystone.net/profile/
published_by: "Perrin Yong"
canonical: https://www.pystone.net/notes/ue-mobile-device-debug/
type: note
content_role: unspecified
visibility: public
id_stability: rename-stable
source_path: "10-计算机、信息技术与工程/05-游戏图形与运行时/Unreal/UE 移动设备调试.md"
content_hash: 076192b2d40ca7438280214074584cb38dbae878952cb547a41f97f9bd01d4b6
knowledge_version: 224c990773de.5fa8af6e39fa
site_commit: 224c990773de166d23a886306577dd90379529ce
notes_commit: 5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a
---
# UE 移动设备调试

﻿# UE 移动设备调试

> 创建时间：2023/2/8 17:12

<https://www.youtube.com/watch?v=hEtu-ciPc7g>

adb logcat

Android Studio 是发现最优的源码级别调试方式

![assets/0016 - UE 移动设备调试__resource-001-f6bc935f1b5b.png](/media/5df6cb4791ac3cdb04eb.png)

常用调试方法：

#define PRINT(String) {if (GEngine){GEngine->AddOnScreenDebugMessage(-1,10.0f,FColor::Red,*(String));}}

GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Red,

TEXT("Log by GEngine.AddOnScreenDebugMessage"));

GEngine->AddOnScreenDebugMessage(-1, 10.0f, FColor::Red, FString::Printf(TEXT("Server not connected yet.")));

<https://blog.csdn.net/m0_51819222/article/details/122511585>

<https://blog.csdn.net/Jason6620/article/details/128404026>
