xuanjiazhen/cangjielanguage/cjdb
Claude Code and agent skill by xuanjiazhen/cangjielanguage
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install xuanjiazhen/cangjielanguage/cjdbSKILL.md
The same SKILL.md was published earlier as junjiechen0/njust/cjdb.
仓颉调试工具 cjdb Skill
1. 概述
cjdb 是基于 lldb 开发的仓颉程序命令行调试工具,位于 SDK 的 cangjie/tools/bin 路径下。支持 Windows、Linux、macOS 平台。
1.1 前提条件
- 被调试程序须以
debug模式编译:cjc -g test.cj -o test - 保证
cjdb和编译器来自同一版本工具链
2. 启动调试
2.1 launch 方式
2.2 attach 方式
3. 断点
3.1 源码断点
3.2 函数断点
3.3 条件断点
3.4 继续执行
4. 单步执行
| 命令 | 简写 | 说明 | |
|---|---|---|---|
thread step-over | n / next | 单步跳过(不进入函数) | |
thread step-in | s / step | 单步进入(进入有调试信息的函数) | |
finish | — | 执行完当前函数并返回上层 |
5. 变量查看与修改
5.1 查看变量
支持类型:基础类型、String、struct/class、Array、CString、Enum。
5.2 修改变量
6. 表达式计算
注意:不支持带命名参数的函数调用、互操作、扩展、属性、插值字符串。Windows 不支持 Float16 和异常抛出。
7. 观察点
仅支持基础类型。
8. 仓颉线程
9. 日志
10. 常见问题
| 问题 | 解决方案 | |
|---|---|---|
Docker 下报 packet returned an error: 8 | 创建容器时加 --cap-add=SYS_PTRACE --security-opt seccomp=unconfined | |
持续报 signal SIGABRT | process handle --pass true --stop false --notify true SIGBUS | |
无法通过 next/s 进入 catch 块 | 在 catch 块内打断点 | |
| 泛型变元名显示为 T0, T1 | 仓颉 ABI 兼容设计,非错误 |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingace_skills/.claude/skills/cangjie_toolchains/cjdb/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/xuanjiazhen/cangjielanguage/cjdb)