KirkMunro / DebugPx

PowerShell Debugging Toolkit (feat. the breakpoint and ifdebug commands)
Apache License 2.0
44 stars 3 forks source link

Document shortcuts #3

Open rgrannell1 opened 7 years ago

rgrannell1 commented 7 years ago

I've enjoyed using this module, and it's worked very well for me so far. I haven't figured how to actually navigate through the program using the breakpoint command; the only shortcut I've figured out is that q will exit the program.

Can you document the supported commands for navigating through a program that has reached a breakpoint?

figueroadavid commented 7 years ago

I realize this is old, but I agree.. having them in the readme would help. FYI, if you put in a ? at the debug prompt in the middle, it shows you the commands.. (I found out the hard way)..

And BTW - Absolutely fantastic module Kirk! I was trying to figure out how to troubleshoot a module, and none of the standard things I would do were working. Tried this and instant success.

rgrannell1 commented 7 years ago

I found this too - apparently entering "h" will give back the same information. As a quick overview for other people with the same problem:

KirkMunro commented 7 years ago

Wow, I completely missed this thread. Methinks I need to make sure these things show up in my Inbox better.

Anyhow, I agree, more docs are necessary to learn the standard debugger commands. I've just demoed PowerShell debugging at two separate conferences, and have another coming up, and I need to round out the docs for this (and my other) modules. Point very well taken.

For the useful commands, aside from those listed above (h, q, c), I also highly recommend getting to know the following:

I'll work on improving the docs in a future update, as well as updating docs in this GitHub repository.