Skip to content

How about adding debug commands such likes continue or run? #47

@jkryanchou

Description

@jkryanchou

Sorry for not providing details. Here are what I mentioned. Wish to add some debug related commands for us to debug as python(ipdb) or ruby(pry)


     5:   "github.com/d4l3k/go-pry/pry"
     6: )
     7:
     8: func main() {
     9:   a := 1
 => 10:   pry.Pry()
    11:   fmt.Println("A", a)
    12: }
    13:

[31] go-pry> a = 2
=> 2
[32] go-pry>

I modify the var a value to 2, and willing to execute next or continue commands to continue the program.

Is there any methods to add those to go-pry? I have noticed what you have mentioned below it just has wrap go commands. So i thought it is impossible to add those commands.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions