Feedback
Debug-only code can now be excluded at compile time
- Status
- Fixed
- Fixed in
- v26.7.6
- Source discussion
- https://forum.objo.dev/d/713-objo-compiler-question
- Last updated
- 2026-07-29
Upvotes
1 upvote
Uses your Objo forum account.
Public summary
Objo developers can conditionally exclude development-only code from built and published applications using readable @If DebugBuild Then, @ElseIf, @Else, and @EndIf compiler directives. Excluded branches must contribute no executable bytecode, string constants, referenced types, or other runtime metadata, allowing development diagnostics and local-only configuration to remain outside release artifacts.