Skip to content
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

Improve debugger's variable population mechanism #1620

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make serializationDepth constant
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
  • Loading branch information
JustinGrote and SeeminglyScience committed Nov 9, 2021
commit 43bbaec8401714491211b8f3bc26b767790192de
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ private async Task FetchStackFramesAsync(string scriptNameOverride)
{
PSCommand psCommand = new PSCommand();
// The serialization depth to retrieve variables from remote runspaces.
var serializationDepth = 3;
const int serializationDepth = 3;

// This glorious hack ensures that Get-PSCallStack returns a list of CallStackFrame
// objects (or "deserialized" CallStackFrames) when attached to a runspace in another
Expand Down