-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug Protocol: breakpoint hit counts #37
Comments
I propose to add a string typed "hitCount" attribute to the breakpoints requests. |
I think it would be easier to work with if the 'type' was broken out into an enum or string, like in the VS protocol. |
@roblourens how should we support this in the UI then? Breaking out 'type' would require additional protocol to enumerate the UI strings for the 'type' options. |
Actually, I agree - I was imagining that every debug adapter would implement the same 4 types. But if it's up to the debug adapter to implement it their way with their options, we should just provide an input box, pass the input along, and let the debug adapter interpret it. |
I believe this proposal will work for VS as well. |
In order to use the vscode protocol in vs and xamerin, we would need the ability to support breakpoint hit counts. This is similar to a breakpoint condition, but allows the debug engine to control the number of times a bp would be hit. We currently support four types of hit counts:
public enum enum_BP_PASSCOUNT_STYLE {
BP_PASSCOUNT_NONE = 0x0000,
BP_PASSCOUNT_EQUAL = 0x0001,
BP_PASSCOUNT_EQUAL_OR_GREATER = 0x0002,
BP_PASSCOUNT_MOD = 0x0003
};
These are:
The VS interface for this provides the user's value (number of interest) and a type:
https://msdn.microsoft.com/en-us/library/bb146656.aspx
The text was updated successfully, but these errors were encountered: