Skip to content

Reinstate debugging API lost in #10338 - #10808

Merged
Aditya Patwardhan (adityapatwardhan) merged 5 commits into
PowerShell:masterfrom
rjmholt:reinstate-setbreakpoint
Oct 30, 2019
Merged

Reinstate debugging API lost in #10338#10808
Aditya Patwardhan (adityapatwardhan) merged 5 commits into
PowerShell:masterfrom
rjmholt:reinstate-setbreakpoint

Conversation

@rjmholt

Copy link
Copy Markdown
Collaborator

PR Summary

Adds SetBreakpoints back

PR Context

#10338 removed the SetBreakpoints public API, which is required for cross-PowerShell debugging.

PR Checklist

Comment thread src/System.Management.Automation/engine/debugger/debugger.cs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except I feel we should use the newer style for the overrides.

Comment thread src/System.Management.Automation/engine/debugger/debugger.cs Outdated
Comment thread src/System.Management.Automation/engine/debugger/debugger.cs Outdated
Comment thread src/System.Management.Automation/engine/hostifaces/PSTask.cs Outdated
Comment thread src/System.Management.Automation/engine/remoting/client/Job.cs Outdated
Comment thread src/System.Management.Automation/engine/debugger/debugger.cs Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rob Holt (@rjmholt), your last commit had 1 failures in PowerShell-CI-static-analysis
Verify Markdown Links.Verify links in /home/vsts/work/1/s/docs/building/internals.md.https://cmake.org/download/ should work

retry of URL failed with error: Response status code does not indicate success: 500 (Internal Server Error).
at <ScriptBlock>, /home/vsts/work/1/s/test/common/markdown/markdown-link.tests.ps1: line 117
117:                                     throw "retry of URL failed with error: $($_.Exception.Message)"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rob Holt (@rjmholt), your last commit had 1 failures in PowerShell-CI-windows
TestAppDomainProcessExitEvenHandlerNotLeaking

Assert.DoesNotContain() Failure
Found:    (filter expression)
In value: Delegate[] [EventHandler { Method = Void DisposeOnShutdown(System.Object, System.EventArgs), Target = null }, EventHandler { Method = Void CurrentDomain_ProcessExit(System.Object, System.EventArgs), Target = null }]
   at PSTests.Sequential.RunspaceTests.TestAppDomainProcessExitEvenHandlerNotLeaking() in D:\a\1\s\test\xUnit\csharp\test_Runspace.cs:line 127

@iSazonov

Copy link
Copy Markdown
Collaborator

Rob Holt (@rjmholt) Please rebase to pass CIs.

Comment thread src/System.Management.Automation/engine/debugger/debugger.cs Outdated
Comment thread src/System.Management.Automation/engine/debugger/debugger.cs Outdated
Comment thread src/System.Management.Automation/engine/debugger/debugger.cs Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rob Holt (@rjmholt), your last commit had 1 failures in PowerShell-CI-windows
TestAppDomainProcessExitEvenHandlerNotLeaking

Assert.DoesNotContain() Failure
Found:    (filter expression)
In value: Delegate[] [EventHandler { Method = Void DisposeOnShutdown(System.Object, System.EventArgs), Target = null }, EventHandler { Method = Void CurrentDomain_ProcessExit(System.Object, System.EventArgs), Target = null }]
   at PSTests.Sequential.RunspaceTests.TestAppDomainProcessExitEvenHandlerNotLeaking() in D:\a\1\s\test\xUnit\csharp\test_Runspace.cs:line 127

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rob Holt (@rjmholt), your last commit had 1 failures in PowerShell-CI-windows
TestAppDomainProcessExitEvenHandlerNotLeaking

Assert.DoesNotContain() Failure
Found:    (filter expression)
In value: Delegate[] [EventHandler { Method = Void DisposeOnShutdown(System.Object, System.EventArgs), Target = null }, EventHandler { Method = Void CurrentDomain_ProcessExit(System.Object, System.EventArgs), Target = null }]
   at PSTests.Sequential.RunspaceTests.TestAppDomainProcessExitEvenHandlerNotLeaking() in D:\a\1\s\test\xUnit\csharp\test_Runspace.cs:line 127

@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Oct 18, 2019
@adityapatwardhan

Copy link
Copy Markdown
Member

Rob Holt (@rjmholt) Please fix the code factor reported issues.

@rjmholt

Copy link
Copy Markdown
Collaborator Author

Rob Holt (@rjmholt) Please fix the code factor reported issues.

Remaining issues are as they were in the codebase before the API was taken out.

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 96eb361 into PowerShell:master Oct 30, 2019
@ghost

Copy link
Copy Markdown

🎉v7.0.0-preview.6 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants