| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
I spoke to Dongbo Wang (@daxian-dbw) about this back when I implemented #11312 and we decided that that breakage was fine. |
Sorry, something went wrong.
Well it's not mutually exclusive -- perhaps we can have both? Also, it feels like such a decision should be documented in either the PR or the extended commit message. |
Sorry, something went wrong.
|
Yeah I thought that was captured but I guess not. I'll defer to Dongbo Wang (@daxian-dbw) for the right call here. I'm fine either way. Happy to add a comment on my old PR calling out the break. |
Sorry, something went wrong.
|
I agree to have overloads. |
Sorry, something went wrong.
|
Please review Paul Higinbotham (@PaulHigin) |
Sorry, something went wrong.
There was a problem hiding this comment.
Approving as maintainer
Sorry, something went wrong.
* Restore SetBreakpoints API * Remove default values in API methods * Fix inheriting APIs * Correct further comments * Fix breakpoint API use issues * Fix breakpoint API tests # Conflicts: # test/powershell/SDK/Breakpoint.Tests.ps1
|
🎉v7.0.0-rc.3 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
* Restore SetBreakpoints API * Remove default values in API methods * Fix inheriting APIs * Correct further comments * Fix breakpoint API use issues * Fix breakpoint API tests
| Back | FazBrowse Home | New Git URL |
#11312 changed the SetBreakpoint() API in a breaking way. This PR restores the original API while continuing to make the new one available.
Tooling will be impacted by not crashing when targeting the SetBreakpoints API across PowerShell versions.
NOTE #11312 adds default parameters to other APIs (not broken since they were only added in the 7.0 timeframe). For compatibility it would be favourable to turn those into overloads instead.
Services #11619.
PR Checklist