6. Utils
This section documents the command-line tools that ship with daslang: the live-reload application host, the test framework, the code coverage tool, the package manager, the MCP server for AI coding assistants, the cross-file duplicate-function detector and its AI judge, the runtime profiler and memory-leak tracker, and a cheat sheet for every built-in leak-detection mechanism.
- 6.1. daslang-live — Live-Reload Application Host
- 6.2. dastest — Test Framework
- 6.3. dascov — Code Coverage
- 6.4. daspkg — Package Manager
- 6.4.1. Quick start
- 6.4.2. Why daspkg?
- 6.4.3. Commands
- 6.4.4. Package sources
- 6.4.5. The
.das_packagemanifest - 6.4.6. Install flow
- 6.4.7. Global modules
- 6.4.8. Project layout
- 6.4.9. Lock file
- 6.4.10. Package index
- 6.4.11. Use-case examples
- 6.4.12. Version model
- 6.4.13. Requirements
- 6.4.14. Architecture
- 6.5. MCP Server — AI Tool Integration
- 6.6. detect-dupe — Cross-file similar-function detector
- 6.7. find_dupe — AI judge for detect-dupe clusters
- 6.8. Profiler — Runtime Profiling
- 6.9. Memory Leak Detection — Diagnostics Cheat Sheet
- 6.9.1. At a glance
- 6.9.2. Picking the right tool
- 6.9.3. 1. daslang leak profiler (
--das-profiler-leaks) - 6.9.4. 2. C++ heap report (
-track-allocations -heap-report) - 6.9.5. 3. gc_node leak detection (automatic)
- 6.9.6. 4. Smart-pointer tracking (
--track-smart-ptr <hexId>) - 6.9.7. 5. JobStatus / Channel / LockBox tracker
- 6.9.8. 6. HandleRegistry (dasHV handle objects)
- 6.9.9. See also