xmake-troubleshooting
Installation
SKILL.md
Troubleshooting Xmake
When xmake itself (not your project) is misbehaving, work from the cheapest tool to the most invasive: verbose output → profiling env → bisect → debugger.
1. First: verbose and diagnosis output
xmake -v # verbose: show every sub-command
xmake -vD # verbose + diagnosis: full Lua tracebacks on error
xmake f -vD # same but for configure
xmake l -vD path/to/script.lua
-D is the single most important flag when something goes wrong — any Lua error comes back with a full stack into xmake/core/..., which usually tells you exactly which module is unhappy.
Project cache can also mask bugs. If something seems sticky: