You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow multiple levels of breakpoint command with options #620
This will allow users to write a simple script, place it at one place (e.g. a Rails controller), and execute the entire debugging process without any automatically.
Right now it's not possible because the debugger assumes do: or pre: options only have 1 level of action.
Ah, I see. I misunderstood the current do: spec.
To introduce parens we need to introduce parser to analyze the commands and we need to consider the syntax more.
Activity
ko1 commentedon Apr 17, 2022
This request is, allowing "break do:" with debug commands, not Ruby expression, right?
st0012 commentedon Apr 17, 2022
Sorry, I don't understand the question. I want to allow
break do:in anotherbreak do:if that's what you're asking.Currently this works:
But this doesn't work because the debugger doesn't know how to parse the later
do:.ko1 commentedon Apr 17, 2022
Ah, I see. I misunderstood the current
do:spec.To introduce parens we need to introduce parser to analyze the commands and we need to consider the syntax more.