Giter Site home page Giter Site logo

Comments (3)

mrexodia avatar mrexodia commented on May 24, 2024

There is no (working) way to invoke a script on a breakpoint right now. But for your thing specifically you can use a ; to separate commands. Note that this doesn't scale nicely, but a command like bp eax; bp ebx should work fine. Another possibility is to write a plugin that does as many commands as you like (possibly in C# using https://github.com/x64dbg/DotX64Dbg)

from x64dbg.

justanotheranonymoususer avatar justanotheranonymoususer commented on May 24, 2024

I just discovered the ; way, it's cool that it works but it's a pain in the ass to work with.
Best I could do is to have a script that runs SetBreakpointCommand, but with each change I need to do the following:

  • save script file
  • switch to script tab
  • reload script
  • pause debugged app
  • run script
  • resume app and go back to cpu tab

If I could do all of the above in one click it would be so much better! Maybe I need to script the script runner

from x64dbg.

torusrxxx avatar torusrxxx commented on May 24, 2024

Current breakpoint command just runs a few commands without changing x64dbg to a paused state first, therefore some commands, like "run", could not be used. x64dbg have to properly enter a paused state before starting executing script. This has a big performance penalty. I think we need a separate property for conditional breakpoint where you can specify a label in the script to execute, so x64dbg knows it need to use a slower and different approach to properly handle this. This also means if your script contains no "run" command in this section, then the debuggee will be left in paused state.

from x64dbg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.