Skip to content

Rawan-Aldawsari/java-visual-debugger

Repository files navigation

🧠 Java Visual Debugger

A powerful visual tool that simulates code execution step-by-step using Java Swing & Graphics2D

🎯 Understand how code executes internally • 📊 Visualize memory • ⚡ See variables change in real-time


🎥 Preview


✨ Features

Feature Description
▶️ Step-by-step execution Execute code line by line
🧠 Variable tracking Watch variables update in real-time
📦 Memory visualization Stack-based memory representation
➡️ Execution pointer Highlights current executing line
🎮 Controls Play, Pause, Step, Reset
⚡ Speed control Adjustable execution speed

📊 Visual Highlights

  • 🎨 Smooth UI with custom colors
  • 📈 Dynamic updates of variables
  • 🧩 Structured panels (Code / Stack / Variables)
  • 🟨 Highlighted execution line
  • 🟩 New variable indicator
  • 🟧 Updated variable indicator

🧰 Technologies Used

Java Swing Graphics2D


🧪 How to Run

javac VisualDebugger.java java VisualDebugger 🧠 Project Idea

This project demonstrates how code is executed internally by simulating a debugging environment.

Instead of reading static code, this tool allows you to:

👀 See execution flow visually 🔄 Track variable changes 🧩 Understand memory behavior 📈 Project Statistics Metric Value 💻 Language Java 🧱 UI Framework Swing 🎨 Graphics Graphics2D 📦 Lines of Code ~300+ 🚀 Level Advanced 🎯 Why This Project?

✔ Demonstrates deep understanding of execution flow ✔ Combines algorithms + UI + visualization ✔ Shows problem-solving and system thinking ✔ Suitable for portfolios and technical interviews

👩🏻‍💻 Author

Rawan Aldawsari

⭐ Support

If you like this project, consider giving it a ⭐ on GitHub!

About

A Visual Debugger built with Java Graphics2D that simulates code execution step-by-step, showing variables, memory stack, and execution flow in real-time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages