Bug 4216 - Breakpoints render over execution marker
Summary: Breakpoints render over execution marker
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Mac OS
: --- minor
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-04-03 23:30 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-04-12 17:21 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2012-04-03 23:30:34 UTC
The breakpoint line marker (red) in the source editor sometimes renders over the active execution line marker (yellow).
Comment 1 Mike Krüger 2012-04-04 07:11:52 UTC
The execution line marker should always be inserted after the breakpoint line marker.
Comment 2 Mikayla Hutchinson [MSFT] 2012-04-04 13:11:13 UTC
If I remove and re-add the breakpoint, the order becomes correct. So it looks like MD handles it correctly in some cases.
Comment 3 Mike Krüger 2012-04-04 14:52:28 UTC
The correct thing would be not drawing the breakpoint marker when a current line marker is active in that line.

Even if the current line marker repaints over the breakpoint marker it is just wasting time doing it.

Painting is a slow operation and should be done with care.
Comment 4 Mike Krüger 2012-04-12 17:21:46 UTC
Added a possible fix.