mono / sdb

A command line client for the Mono soft debugger.
https://www.mono-project.com
MIT License
116 stars 44 forks source link

Change `RunCommand` to re-run previous program. #23

Closed razzmatazz closed 9 years ago

razzmatazz commented 9 years ago

This makes it possible to re-run the last program without typing a path to it on. Gdb behaves the same way so it seems to be a sane behaviour to add to sdb.

monoadmin commented 9 years ago

Hello! I'm the build bot for the Mono project. I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message.

alexrp commented 9 years ago

This seems like good behavior to implement.

I think a better way to do it would be to reuse Debugger.CurrentExecutable when no path is given.

razzmatazz commented 9 years ago

Thanks for the comments, I updated code to use Debugger.CurrentExecutable.

razzmatazz commented 9 years ago

Updated

alexrp commented 9 years ago

Thanks!