hxcpp-debugger icon indicating copy to clipboard operation
hxcpp-debugger copied to clipboard

[Haxe 5] Cannot use this API from initialization macros

Open EliteMasterEric opened this issue 1 year ago • 0 comments
trafficstars

hxcpp-debug-server/git/hxcpp-debug-server/hxcpp/debug/jsonrpc/Macro.hx:9: characters 4-49 9 | Context.getType("hxcpp.debug.jsonrpc.Server"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | Cannot use this API from initialization macros. | Use Context.onAfterInitMacros to register a callback to run when context is ready.

https://github.com/vshaxe/hxcpp-debugger/blob/master/hxcpp-debug-server/hxcpp/debug/jsonrpc/Macro.hx#L9

EliteMasterEric avatar Sep 17 '24 23:09 EliteMasterEric