Skip to content

Conversation

@MalithaPrabhashana
Copy link
Collaborator

Debugging UI Enhancements:

  • Replaced the Toggle button in DebugControls with a more accessible and visually intuitive switch component. The new switch updates its state based on isDebugging and provides a clearer distinction between "Debug Mode" and "Run Mode" (src/components/DebugControls.tsx).

Debugging Behavior Improvements:

  • Updated the callbackBreakHit to only highlight the execution line when isDebugging is active (src/pages/Index.tsx).
  • Ensured setIsPaused is properly updated when starting execution in debug mode (src/pages/Index.tsx).
  • Modified callbackExecEnd to reset the isPaused state when execution ends (src/pages/Index.tsx).
  • Added logic to dynamically set or clear breakpoints based on the isDebugging state (src/pages/Index.tsx).

…on lines and managing breakpoints based on debug state
…lity and functionality; update Index page to manage debugging state correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants