This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git

commit ca7e3eaa304f1ba8807913d7a3f3b01434cd0385
Author: chaokunyang <[email protected]>
AuthorDate: Wed May 13 05:41:34 2026 +0000

    🔄 synced local 'docs/guide/' with remote 'docs/guide/'
---
 docs/guide/java/static-generated-serializers.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/docs/guide/java/static-generated-serializers.md 
b/docs/guide/java/static-generated-serializers.md
index ec101027c5..428b3eff35 100644
--- a/docs/guide/java/static-generated-serializers.md
+++ b/docs/guide/java/static-generated-serializers.md
@@ -84,6 +84,26 @@ The processor generates serializer classes in the same Java 
package as the annot
 For a static nested type such as `Outer.Inner`, the generated top-level 
classes are
 `Outer$Inner__ForySerializer__` and `Outer$Inner__ForyNativeSerializer__`.
 
+## Field Debug Tracing
+
+Add `@ForyDebug` next to `@ForyStruct` when you need generated serializers to 
include field-level
+debug tracing hooks. The generated code prints those traces only when
+`ENABLE_FORY_DEBUG_OUTPUT=1`.
+
+```java
+import org.apache.fory.annotation.ForyDebug;
+import org.apache.fory.annotation.ForyStruct;
+
+@ForyStruct
+@ForyDebug
+public class DebugOrder {
+  public long id;
+  public String note;
+
+  public DebugOrder() {}
+}
+```
+
 ## Runtime Use
 
 Fory uses static generated serializers when they are available on:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to