Skip to content

Conversation

@ManlyMarco
Copy link
Owner

No description provided.

@ManlyMarco ManlyMarco requested a review from Copilot October 22, 2025 00:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds execution time measurement for breakpointed methods. When a breakpoint is hit, the system now records how long the method took to execute and displays this information in the UI.

Key changes:

  • Split breakpoint handling into prefix/postfix hooks to measure execution time using a Stopwatch
  • Modified BreakpointHit to support deferred initialization, storing timing data alongside method arguments and results
  • Updated the UI to display elapsed milliseconds for each breakpoint hit

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
BreakpointsWindow.cs Updated label to display execution time alongside timestamp
Breakpoints.cs Refactored hit handling to use prefix/postfix pattern with state passing for timing measurement
BreakpointHit.cs Added Stopwatch field and deferred initialization to capture method execution duration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ManlyMarco ManlyMarco merged commit 1a9bcf1 into master Oct 22, 2025
@ManlyMarco ManlyMarco deleted the bkp branch October 22, 2025 00:25
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