Skip to content

Commit

Permalink
docs: More labels on commands; add delete; more Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jun 2, 2015
1 parent 7f04df3 commit dd8fc65
Show file tree
Hide file tree
Showing 21 changed files with 87 additions and 28 deletions.
9 changes: 9 additions & 0 deletions docs/commands/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Whatever it is you want to do, it should be handled by the
# by the main (parent) Makefile. So reissue make from there.
.PHONY: html

html:
$(MAKE) -C .. $@

%: html
$(MAKE) -C .. $@
1 change: 1 addition & 0 deletions docs/commands/breakpoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Making the program stop at certain points

breakpoints/break
breakpoints/condition
breakpoints/delete
breakpoints/disable
breakpoints/enable
breakpoints/tbreak
9 changes: 9 additions & 0 deletions docs/commands/breakpoints/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Whatever it is you want to do, it should be handled by the
# by the main (parent) Makefile. So reissue make from there.
.PHONY: html

html:
$(MAKE) -C ../.. $@

%: html
$(MAKE) -C ../.. $@
4 changes: 2 additions & 2 deletions docs/commands/breakpoints/break.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _break:

Break
-----
Break (set a breakpoint)
------------------------

**break** [*location*] [if *condition*]]

Expand Down
4 changes: 2 additions & 2 deletions docs/commands/breakpoints/condition.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _condition:

Condition
---------
Condition (add condition to breakpoint)
---------------------------------------

**condition** *bp_number* *condition*

Expand Down
5 changes: 3 additions & 2 deletions docs/commands/breakpoints/delete.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.. _delete:

Delete
------
Delete (remove breakpoints)
---------------------------

**delete** [*bpnumber* [*bpnumber*...]]

Delete some breakpoints.
Expand Down
5 changes: 3 additions & 2 deletions docs/commands/breakpoints/disable.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.. _disable:

Disable
-------
Disable (disable breakpoints)
-----------------------------

**disable** *bpnumber* [*bpnumber* ...]

Disables the breakpoints given as a space separated list of breakpoint
Expand Down
6 changes: 4 additions & 2 deletions docs/commands/breakpoints/enable.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
.. _enable:

Enable
-------
Enable (enable breakpoints)
---------------------------

**enable** *bpnumber* [*bpnumber* ...]

Enables the breakpoints given as a space separated list of breakpoint
numbers. See also `info break` to get a list.

See also:
+++++++++

:ref:`disable <disable>`

.. _tbreak:
9 changes: 9 additions & 0 deletions docs/commands/data/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Whatever it is you want to do, it should be handled by the
# by the main (parent) Makefile. So reissue make from there.
.PHONY: html

html:
$(MAKE) -C ../.. $@

%: html
$(MAKE) -C ../.. $@
4 changes: 2 additions & 2 deletions docs/commands/data/disassemble.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _disassemble:

Disassemble
-----------
Disassemble (CPython disassembly)
---------------------------------

*disassemble* [*thing*] [*start-line* [*end-line*]]

Expand Down
5 changes: 3 additions & 2 deletions docs/commands/data/eval.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.. _eval:

Eval
----
Eval (evaluate Python code)
---------------------------

**eval** *python-statement*

Run *python-statement* in the context of the current frame.
Expand Down
4 changes: 2 additions & 2 deletions docs/commands/data/pp.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Pp
---
Pp (pretty print expression)
----------------------------

**pp** *expression*

Expand Down
4 changes: 2 additions & 2 deletions docs/commands/data/pr.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Pr
---
Pr (print expression)
---------------------

**pr** *expression*

Expand Down
4 changes: 2 additions & 2 deletions docs/commands/data/pydocx.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Pydocx
------
Pydocx (show pydoc)
-------------------

**pydocx** *name* ...

Expand Down
1 change: 1 addition & 0 deletions docs/commands/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Running the program.

running/continue
running/finish
running/jump
running/next
running/skip
running/step
9 changes: 9 additions & 0 deletions docs/commands/running/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Whatever it is you want to do, it should be handled by the
# by the main (parent) Makefile. So reissue make from there.
.PHONY: html

html:
$(MAKE) -C ../.. $@

%: html
$(MAKE) -C ../.. $@
4 changes: 2 additions & 2 deletions docs/commands/running/finish.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _finish:

Finish (AKA step out)
--------------------
Finish (step out)
-----------------

**finish** [*level*]

Expand Down
16 changes: 16 additions & 0 deletions docs/commands/running/jump.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.. _jump:

Jump
----

**jump** *lineno*

Set the next line that will be executed. The line must be within the
stopped or bottom-most execution frame frame.

See also:
+++++++++

:ref:`step <step>` :ref:`skip <skip>`, :ref:`next <next>`, :ref:`continue
:ref:<continue>`, and `finish <finish>` provide other ways to progress
:ref:execution.
6 changes: 3 additions & 3 deletions docs/commands/running/next.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. _next:

Next (AKA Step over)
--------------------
Next (step over)
----------------

**next**[**+**|**-**] [*count*]
**next** [ **+** | **-** ] [ *count* ]

Step one statement ignoring steps into function calls at this level.

Expand Down
4 changes: 2 additions & 2 deletions docs/commands/running/step.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _step:

Step (AKA step into)
--------------------
Step (step into)
----------------

**step**[**+**|**-**|**<**|**>**|**!**] [*event*...] [*count*]

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Welcome to trepan's documentation!
==================================

.. toctree::
:maxdepth: 2
:maxdepth: 1

commands

0 comments on commit dd8fc65

Please sign in to comment.