-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gh-4] Added optimization where breakpoint hit events are not subscri…
…bed to if actionable breakpoints exist.
- Loading branch information
Showing
8 changed files
with
81 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using ExceptionBreaker.Core.Observable; | ||
|
||
namespace ExceptionBreaker.Breakpoints { | ||
public class BreakpointExtraData { | ||
public BreakpointExtraData() { | ||
ExceptionBreakChange = new ObservableValue<ExceptionBreakChange>(); | ||
} | ||
|
||
public ObservableValue<ExceptionBreakChange> ExceptionBreakChange { get; private set; } | ||
public ExceptionBreakChange ExceptionBreakChange { get; set; } | ||
} | ||
} |
7 changes: 5 additions & 2 deletions
7
ExceptionBreaker/Breakpoints/BreakpointExtraDataChangedEventArgs.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
using System; | ||
using EnvDTE80; | ||
using JetBrains.Annotations; | ||
|
||
namespace ExceptionBreaker.Breakpoints { | ||
public class BreakpointExtraDataChangedEventArgs : EventArgs { | ||
public BreakpointExtraDataChangedEventArgs(Breakpoint2 breakpoint) { | ||
public BreakpointExtraDataChangedEventArgs(Breakpoint2 breakpoint, BreakpointExtraData data) { | ||
Breakpoint = breakpoint; | ||
Data = data; | ||
} | ||
|
||
public Breakpoint2 Breakpoint { get; private set; } | ||
[NotNull] public Breakpoint2 Breakpoint { get; private set; } | ||
[NotNull] public BreakpointExtraData Data { get; private set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters