Version: 1.6
语言 : 中文
C# 代码断点调试
Memory Profiler 模块增强

Frame Debugger

帧调试器 (Frame Debugger) 可将正在运行的游戏的状态冻结到特定帧来自由回放,并查看用于渲染该帧的各个绘制调用。

在小游戏平台,可以通过以下两种方式开启Frame Debugger:

使用Development Build

使用Frame Debugger Build

  • 勾选小游戏构建配置文件 Inspector页面中的 Frame Debugger Build 选项, 打包带有 Frame Debugger 功能的 release 版本,相比 development build 更轻量。

注意事项

  • 小游戏启动后,默认只能连接到打包时的ip地址,如需要动态修改 Profiler连接ip,请参阅 微信小游戏 Profiler 连接配置抖音小游戏 Profiler 连接配置
  • 如需要在浏览器中使用Frame Debugger,请前往layer Settings -> Resolution and Presentation页面,勾选 Run In Background 选项。 确保浏览器丢失焦点时,游戏依旧运行。
C# 代码断点调试
Memory Profiler 模块增强