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

Support cond command #64

Open
gozes opened this issue Oct 17, 2022 · 2 comments
Open

Support cond command #64

gozes opened this issue Oct 17, 2022 · 2 comments

Comments

@gozes
Copy link

gozes commented Oct 17, 2022

I tend to use the cond command a lot when debugging tests just to get dlv to stop when I reach the correct test. will it be possible to add support for cond in gdlv?. Not having cond is the only blocker for me to switch from cli dlv to gdlv. I'm sure I can't be the only one :)

@aarzilli
Copy link
Owner

You can set a condition by right clicking on a breakpoint, selecting "Edit breakpoint" and setting the "Condition" field.

@gozes
Copy link
Author

gozes commented Oct 17, 2022

I would much rather use the command :) because usually don't set the breakpoint and then add the condition but use cond to set the breakpoint for me when the condition is met

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants