visual-debugger

Launch a browser-based visual debugger for discrete-event simulations.

11|Updated Mar 16, 2024
One-click install
npx skills add https://github.com/adamfilli/happy-simulator --skill visual-debugger-adamfilli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visual-debugger
Source: https://github.com/adamfilli/happy-simulator/tree/main/.claude/skills/visual-debugger
Command: npx skills add https://github.com/adamfilli/happy-simulator --skill visual-debugger-adamfilli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a visual, interactive way to debug discrete-event simulations, making complex system behaviors easier to understand and troubleshoot.

Core Features & Use Cases

  • Browser-based Debugger: Launch a UI for live visualization of simulation state.
  • Step-through Debugging: Pause, step, and inspect simulation events and entity states.
  • Use Case: When a simulation produces unexpected results, use this Skill to step through its execution, observe entity interactions, and pinpoint the exact cause of the error.

Quick Start

Run python examples/visual_debugger.py to launch the visual debugger.

Frequently Asked Questions about visual-debugger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visually debug a discrete-event simulation in Python?

You can visually debug a discrete-event simulation by launching a browser-based interface that provides live visualization of the simulation state, entity interactions, and event flows. This allows you to interactively inspect complex system behaviors as they execute.

Can I step through simulation events and inspect entity states?

Yes, step-through debugging allows you to pause execution, step through individual simulation events, and inspect entity states. This interactive process helps pinpoint the exact cause of unexpected simulation results.

What is the best way to troubleshoot unexpected results in a simulation model?

The best way to troubleshoot unexpected simulation results is to use a visual debugger to step through execution, observe entity interactions, and pinpoint the exact cause of the error. This provides a clear view of complex system behaviors.

Do I need a specific environment to launch the visual debugger?

You need a Python environment to launch the visual debugger. Running the provided example script opens a browser-based UI for live visualization, requiring no additional dependencies to start interactive debugging.

When should I use a visual debugger for simulation logic?

You should use a visual debugger when a simulation produces unexpected results and you need to observe entity interactions. It is essential for development and troubleshooting of complex simulation models that are difficult to trace through code alone.