Back to list
nethercore-systems

nethercore-debugging

by nethercore-systems

1🍴 0📅 Jan 15, 2026

SKILL.md


name: Nethercore Debugging description: | Debug inspector and runtime debugging tools (all consoles). Triggers on "debug", "F4 inspector", "debug_register", "debug panel", "live editing", "watch values", "frame stepping", "pause game".

Load references when:

  • Full debug API details -> references/inspector-api.md version: 1.0.0

Nethercore Debugging

The debug system is built into the Nethercore player and works with all consoles.

F4 Debug Inspector

Press F4 during development to open the Debug Inspector. This is your primary debugging tool.

Features:

  • Live value editing (sliders, toggles, color pickers)
  • Read-only watches for monitoring
  • Grouped/collapsible organization
  • Frame control (pause, step, time scale)
  • Zero overhead in release builds

Quick Reference

FunctionPurposeCall In
debug_register_i32(name, ptr)Editable integerinit()
debug_register_f32(name, ptr)Editable floatinit()
debug_register_bool(name, ptr)Toggle checkboxinit()
debug_register_vec3(name, ptr)3D positioninit()
debug_register_color(name, ptr)RGBA pickerinit()
debug_watch_*(name, ptr)Read-only displayinit()
debug_group_begin/end(name)Collapsible sectionsinit()

Range-Constrained (Sliders)

debug_register_f32_range(b"Speed".as_ptr(), 5, &SPEED, 0.0, 20.0);
debug_register_i32_range(b"Lives".as_ptr(), 5, &LIVES, 0, 10);

Keyboard Shortcuts

KeyAction
F4Toggle Debug Inspector
F3Toggle Runtime Stats
F5Pause/Resume
F6Step one frame (when paused)
F7/F8Decrease/Increase time scale

Frame Control

fn update() {
    if debug_is_paused() != 0 { return; }
    let dt = delta_time() * debug_get_time_scale();
    // ...
}

Typical Setup

static mut PLAYER_X: f32 = 0.0;
static mut GRAVITY: f32 = 9.8;
static mut GOD_MODE: u8 = 0;

fn init() {
    unsafe {
        debug_group_begin(b"Player".as_ptr(), 6);
        debug_watch_f32(b"X".as_ptr(), 1, &PLAYER_X);
        debug_register_f32_range(b"Gravity".as_ptr(), 7, &GRAVITY, 1.0, 50.0);
        debug_register_bool(b"God Mode".as_ptr(), 8, &GOD_MODE);
        debug_group_end();
    }
}

When to Use What

ScenarioTool
Live parameter tuningDebug Inspector (F4)
Tracking state over timelog() in update()
Regression testingReplay system
Finding exact frame of bugF5 pause + F6 step

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon