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

Add :sr debug command for stepping until return statement #558

Merged
merged 1 commit into from
Dec 29, 2022

Conversation

fredrikekre
Copy link
Contributor

@fredrikekre fredrikekre commented Dec 21, 2022

This adds a new command :sr ("step (to) return") for stepping until the current function is about to return. I find myself wanting this quite often since I want to inspect the state at that point.

@codecov
Copy link

codecov bot commented Dec 21, 2022

Codecov Report

Merging #558 (5f91d47) into master (8e02ddb) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #558      +/-   ##
==========================================
+ Coverage   86.23%   86.24%   +0.01%     
==========================================
  Files          12       12              
  Lines        2507     2509       +2     
==========================================
+ Hits         2162     2164       +2     
  Misses        345      345              
Impacted Files Coverage Δ
src/commands.jl 93.52% <100.00%> (+0.07%) ⬆️
src/packagedef.jl 87.50% <0.00%> (-0.74%) ⬇️
src/utils.jl 88.65% <0.00%> (+0.02%) ⬆️
src/construct.jl 92.01% <0.00%> (+0.02%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@KristofferC KristofferC merged commit b48b839 into JuliaDebug:master Dec 29, 2022
@fredrikekre fredrikekre deleted the fe/sr branch December 29, 2022 22:43
fredrikekre added a commit to fredrikekre/Debugger.jl that referenced this pull request Jan 6, 2023
KristofferC pushed a commit to JuliaDebug/Debugger.jl that referenced this pull request Jan 6, 2023
* Add :sr command to step until next return.

See JuliaDebug/JuliaInterpreter.jl#558.

* Set version to 0.7.8.
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

Successfully merging this pull request may close these issues.

2 participants