Title: Breaking API removal in #10338 · Issue #10799 · PowerShell/PowerShell · GitHub
Open Graph Title: Breaking API removal in #10338 · Issue #10799 · PowerShell/PowerShell
X Title: Breaking API removal in #10338 · Issue #10799 · PowerShell/PowerShell
Description: #10338 removed the ScriptDebugger.SetBreakpoints() API, allowing .NET code to set breakpoints. Although previous PowerShells didn't have a convenient way to create a breakpoint object, removing this API means there's no way to avoid refl...
Open Graph Description: #10338 removed the ScriptDebugger.SetBreakpoints() API, allowing .NET code to set breakpoints. Although previous PowerShells didn't have a convenient way to create a breakpoint object, removing thi...
X Description: #10338 removed the ScriptDebugger.SetBreakpoints() API, allowing .NET code to set breakpoints. Although previous PowerShells didn't have a convenient way to create a breakpoint object, removing...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10799
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Breaking API removal in #10338","articleBody":"https://github.com/PowerShell/PowerShell/pull/10338 removed the `ScriptDebugger.SetBreakpoints()` API, allowing .NET code to set breakpoints.\r\n\r\nAlthough previous PowerShells didn't have a convenient way to create a breakpoint object, removing this API means there's no way to avoid reflection when setting a breakpoint in a PowerShell module targeting anything prior to PS 7.\r\n\r\nThis is an issue for PowerShellEditorServices, where good debugging APIs are already scarce. A break like this will crash PSES unexpectedly (since PSStandard doesn't pick it up) and the only fix is to use reflection to find the right call at runtime (nullifying the reason to use PSStandard).","author":{"url":"https://github.com/rjmholt","@type":"Person","name":"rjmholt"},"datePublished":"2019-10-16T00:31:11Z","url":"https://github.com/PowerShell/PowerShell/issues/10799"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef609296-4ffe-6903-c718-10bc0292834e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5B2:2F1BC5:62EDB:876A9:6AFD48BA |
| html-safe-nonce | 21ceded55fb26b698363b4b93e7f5b66cd843c59ab7f189d5e1b20f9244953cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUIyOjJGMUJDNTo2MkVEQjo4NzZBOTo2QUZENDhCQSIsInZpc2l0b3JfaWQiOiI0MzMwNzExODEwOTI4NjI1ODUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2107d8c561b1404b800cec1847e257866b0b87ac4f0a486bd1697903ceb2b026 |
| hovercard-subject-tag | issue:507548754 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/10799/issue_layout |
| twitter:image | https://opengraph.githubassets.com/75e176ba8f63f6ad9434af26c9acb711b79a296c0e4b40b17b7fa1d60bf47c7a/PowerShell/PowerShell/issues/10799 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/75e176ba8f63f6ad9434af26c9acb711b79a296c0e4b40b17b7fa1d60bf47c7a/PowerShell/PowerShell/issues/10799 |
| og:image:alt | #10338 removed the ScriptDebugger.SetBreakpoints() API, allowing .NET code to set breakpoints. Although previous PowerShells didn't have a convenient way to create a breakpoint object, removing thi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rjmholt |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width