Skip to content

Conversation

luke-jr
Copy link
Member

@luke-jr luke-jr commented Jul 3, 2017

When we last discussed making scripts debuggable (sometime after #3901), the plan was to instead trace execution rather than single-step through it.

This is the first step toward that goal. The full implementation can be found on my script_debugger branch.

@luke-jr
Copy link
Member Author

luke-jr commented Sep 2, 2017

Rebased

@jtimon
Copy link
Contributor

jtimon commented Sep 6, 2017

Concept ACK, will review

@luke-jr
Copy link
Member Author

luke-jr commented Nov 3, 2018

Rebased

@@ -278,7 +278,12 @@ int FindAndDelete(CScript& script, const CScript& b)
return nFound;
}

bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& script, unsigned int flags, const BaseSignatureChecker& checker, SigVersion sigversion, ScriptError* serror)
ScriptExecution::ScriptExecution(StackType& stack_in, const CScript& script_in, unsigned int flags_in, const BaseSignatureChecker& checker_in, SigVersion sigversion_in) :
script(script_in), stack(stack_in), flags(flags_in), checker(checker_in), sigversion(sigversion_in), pc(script.begin()), pbegincodehash(script.begin()), nOpCount(0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should vfExec and altstack be initialized too?

@DrahtBot
Copy link
Contributor

DrahtBot commented Nov 9, 2018

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@jtimon
Copy link
Contributor

jtimon commented Apr 3, 2019

utACK, unless I'm missing something, this should not change behavior at all.

@DrahtBot DrahtBot closed this Aug 16, 2019
@DrahtBot
Copy link
Contributor

The last travis run for this pull request was 286 days ago and is thus outdated. To trigger a fresh travis build, this pull request should be closed and re-opened.

@luke-jr
Copy link
Member Author

luke-jr commented Feb 26, 2020

Abandoning this until there's some indication anyone cares

@luke-jr luke-jr closed this Feb 26, 2020
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants