Skip to main content

frb-debugging

Use when generated code looks wrong, code generation fails, or you need to understand FRB internals

소스 정보

저장소
fzyzcjy/flutter_rust_bridge
최근 소스 활동
2026년 9월 12일 01:39
감지된 SKILL.md 언어
영어
스타
5,467
포크
424

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
frb-debugging
description
Use when generated code looks wrong, code generation fails, or you need to understand FRB internals
# FRB Debugging > **Note:** Read `frb-dev-env` before running commands and follow the active user's environment rules. ## When to Use - Generated code looks wrong - Code generation fails - Need to understand FRB internals - Runtime errors in generated code ## Quick Diagnostics ### Dump Intermediate Representations The in-tree examples by default enable `dump_all: true` in `flutter_rust_bridge.yaml` for debugability. Therefore, you can check `rust/target/frb_dump/` for: - Effective configuration - IR (intermediate representation) - Generated spec and code - ... ### Debug Logs ```bash RUST_LOG=debug flutter_rust_bridge_codegen ... ``` ## Full Troubleshooting If above doesn't help, see: * `website/docs/docs/guides/contributing/tip.md` * `website/docs/manual/troubleshooting.md` Before going deep into FRB internals, first check whether you are actually seeing failure propagation from unstable generated outputs or integrate templates. In particular: - If CI failures may be explained by failure propagation, repeated package-level drift, or unstable generated outputs, you MUST use `frb-fix-ci` first - You MUST only stay in `frb-debugging` after `frb-fix-ci` has ruled out those simpler explanations ## Related Skills - `frb-code-generation` - Which generation commands to run - `frb-fix-ci` - Diagnose CI failure propagation before deep debugging - `frb-develop-feature` - Development workflow
GitHub에서 보기