Skip to content

Releases: blurfeng/debugx

Debugx v2.3.2

02 Feb 14:36
064fa2f

Choose a tag to compare

📘 简介

  • 移除了需要在 Unity 层隐藏的类,并将它们重新构建到 DebugxLog.dll 中,以防止在 Console 窗口堆栈中暴露。我们需要让堆栈停留在 Log 的具体调用位置。
  • 更新了 DebugxLoggerCodeGenerator 类,用于生成 DebugxLogger 类和成员专用的 Log 方法。使用 Logger 作为类名,可以让用户在控制台窗口双击日志时,直接跳转到 Log 的调用位置,而不是跳转到 DebugxLogger 类中。

💡 注意

  • 如果遇到 Debugx 类重复定义的错误,请删除之前自动生成的 Assets/Plugins/Debugx/Runtime/Debugx.cs ,使用 DebugxLogger 。

📘 Overview

  • Removed classes that need to be hidden in the Unity layer and rebuilt them into DebugxLog.dll to prevent exposure in the Console window stack. We need the stack to stop at the specific call location of Log.
  • Updated the DebugxLoggerCodeGenerator class to generate DebugxLogger classes and member-specific Log methods. Using Logger as the class name allows direct navigation to the Log call location when double-clicking logs in the Console window, instead of navigating to the DebugxLogger class.

💡 Notice

  • If you encounter errors related to duplicate definitions of the Debugx class, please delete the previously auto-generated Assets/Plugins/Debugx/Runtime/Debugx.cs and use DebugxLogger instead.

Debugx v2.3.1

01 Feb 14:00
d6c3799

Choose a tag to compare

📘 简介

  • 根据配置的成员自动为每个成员生成专用的 Log 系列方法,省去了输入 key 的步骤。
  • DebugxLog.dll 中的代码提升到 Unity 项目中,方便管理。
  • 整体项目文件夹整理,并导致了 UPM 链接的变更。

⚠️ 警告

  • 此版本的 Log 堆栈会追溯到最底层,而不是停留在调用 Debugx.Log 的位置。此问题将在之后的版本修复。

📘 Overview

  • Automatically generates dedicated Log methods for each configured member, eliminating the need to manually pass a key parameter.
  • Promoted DebugxLog.dll source code into the Unity project to streamline code management and assembly visibility.
  • Performed a full project directory reorganization, which resulted in updated UPM (Unity Package Manager) git links.

⚠️ Warning

  • this version's Log stack trace will trace to the bottom layer instead of stopping at the location where Debugx.Log is called. This issue will be fixed in a later version.

Debugx v2.1.3

21 Oct 14:04

Choose a tag to compare

📘 简介 / Overview

  • 更新了 package.json 中的作者名称。

English:

  • Updated the author name in package.json.

Debugx v2.1.2

13 Jul 12:45

Choose a tag to compare

📘 简介 / Overview

English:

Debugx v2.1.1.0

09 Jun 01:19

Choose a tag to compare

Unity插件,用于按调试成员管理DebugLog,并输出log文件到本地。

更新详情:
1.注释添加英文,README更新。界面根据系统语言切换中英文。
2.默认关闭测试打印和输出Log文件。修复两处单词拼写错误。
3.代码整理。

English:
Unity Plugin for Managing Debug Logs by Debug Members and Outputting Log Files Locally.

Update Details:

Added English comments and updated the README. The interface now switches between Chinese and English based on the system language.

Disabled test printing and log file output by default. Fixed two spelling errors.

Code cleanup and reorganization.

Debugx v2.1.0.0

09 Jan 08:02

Choose a tag to compare

Unity插件,用于按调试成员管理DebugLog,并输出log文件到本地。

功能更新:
1.菜单栏新增CreateDebugxProjectSettingsAsset方法用于创建配置资源文件。
2.DebugxProjectSettingsProvider项目设置界面优化。
3.Log方法扩展,可以输入Signature签名来代替Key作为成员参数。
4.DebugxBurst更新,移除会导致DOTS项目编译报错的方法。
FixBug:
1.在没有DebugxProjectSettings.asset文件时,如果编辑器启动或代码重编译,会导致Resources.Load方法报错堆栈溢出的问题修复。复现流程为在Editor启动方法中或代码编译时,新创建了DebugxProjectSettings.asset资源并保存后,直接调用Resources.Load方法加载此资源。
2.修复每次代码重编译时DebugxProjectSettingsAsset资源都被重新创建的默认资源覆盖的bug。

English:
Unity Plugin for Managing Debug Logs by Debug Members and Outputting Log Files Locally.

Feature Updates:

  1. Added the CreateDebugxProjectSettingsAsset method to the menu for creating configuration asset files.
  2. Optimized the project settings interface in DebugxProjectSettingsProvider.
  3. Extended the Log method to allow using a Signature as an alternative to Key for member parameters.
  4. Updated DebugxBurst by removing methods that caused compilation errors in DOTS projects.

Bug Fixes:

  1. Fixed a stack overflow error caused by Resources.Load when the DebugxProjectSettings.asset file was missing, occurring when the Editor started or during code recompilation. The issue was reproducible when creating and saving a new DebugxProjectSettings.asset resource during Editor startup or code compilation and immediately calling Resources.Load to load this resource.
  2. Fixed a bug where the DebugxProjectSettingsAsset resource was overwritten by default settings every time the code was recompiled.

Debugx v2.0.2.0

31 Oct 03:25

Choose a tag to compare

Unity插件,用于按调试成员管理DebugLog,并输出log文件到本地。

主要更新内容:
1.未注册成员进行打印功能,新增allowUnregisteredMember字段,用于配置是否允许没有注册者打印内容
FixBug
1.修复某些情况下DebugxProjectSettings初始化时无法通过Resources.Load加载,导致的各类问题
2.DebugxProjectSettingsAsset配置资源加载和创建流程更新,尝试修复配置被重置为空的问题

Debugx v2.0.1.0

20 Sep 10:39

Choose a tag to compare

Unity插件,用于按调试成员管理DebugLog,并输出log文件到本地。

主要更新内容:
1.GUI界面更新,颜色调整。
2.移除DebugxEditorConfig类。
FixBug
1.修复在安卓平台时Application.consoleLogPath获取为空导致无法输出Log文件的问题
2.用户手册名称更新,去除中文。防止一些因中文路径导致打包失败。
3.替换掉 new() 的语法,防止低版本的C#报错。
4.修复DebugxProjectSettings自动创建流程相关的Bug
5.修复ProjectSettings界面中数组越界Bug

注意:DebugxProjectSettings的Guid更新导致.asset文件脚本Missing,需要重新配置调试成员。

Debugx v2.0.0.0

11 Sep 12:58

Choose a tag to compare

Unity插件,用于按调试成员管理DebugLog,并输出log文件到本地。

主要更新内容:
1.将Debugx的配置界面转移到ProjectSettings中。
2.在Preferences中提供用户偏好设置,这样可以按每个人的需求配置所有的打印开关。
3.支持Undo,提供各种重置功能按钮。
4.新的ColorDispenser类用于自动分配颜色,以及一些相关的功能按钮。
5.DebugxConsole窗口用于在运行时控制开关等内容。
6.DebugxManager不需要再在场景中添加和保存了,他会在运行时自动创建。
7.配置界面颜色根据编辑器皮肤Dark和Light变化。
8.文件夹整理,类重命名,代码整理优化。

注意:2.0.0.0版本和1.x版本有不兼容部分,更新前请先以截图或其他形式保存你的调试成员列表。然后删除旧的插件,并添加新的插件。之后重新添加调试成员。(打印方法并无变化,你不用调整你的代码)