Unnamed Fossil Project

Check-in [952083ee4b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Doc on up/down argument.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:952083ee4bf66bf95e0050262dc0117e6f71cfab20e973371fbfe12efd9b9f24
User & Date: vandys 2018-11-20 00:14:36
Context
2018-11-20
00:18
I didn't add it, but fix missing doc for retval command. check-in: cb07d06b9f user: vandys tags: trunk
00:14
Doc on up/down argument. check-in: 952083ee4b user: vandys tags: trunk
00:12
Add some documentation check-in: b376ac288c user: vandys tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pdb.doc.

64
65
66
67
68
69
70
71
72
73

74
75
76
77

78
79
80
81
82
83
84
        (this is currently not implemented).

w(here)
        Print a stack trace, with the most recent frame at the bottom.
        An arrow indicates the "current frame", which determines the
        context of most commands.

d(own)
        Move the current frame one level down in the stack trace
        (to a newer frame).


u(p)
        Move the current frame one level up in the stack trace
        (to an older frame).


b(reak) [ ([filename:]lineno | function) [, condition] ]
        With a filename:line number argument, set a break there.  If
        filename is omitted, use the current file.  With a function
        name, set a break at the first executable line of that
        function.  Without argument, list all breaks.  Each breakpoint
        is assigned a number to which all the other breakpoint







|

|
>

|

|
>







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
        (this is currently not implemented).

w(here)
        Print a stack trace, with the most recent frame at the bottom.
        An arrow indicates the "current frame", which determines the
        context of most commands.

d(own) [levels]
        Move the current frame one level down in the stack trace
        (to a newer frame).  If an argument is present, go down
        that many levels.

u(p) [levels]
        Move the current frame one level up in the stack trace
        (to an older frame).  If an argument is present, go up
        that many levels.

b(reak) [ ([filename:]lineno | function) [, condition] ]
        With a filename:line number argument, set a break there.  If
        filename is omitted, use the current file.  With a function
        name, set a break at the first executable line of that
        function.  Without argument, list all breaks.  Each breakpoint
        is assigned a number to which all the other breakpoint

Changes to pdb.py.

956
957
958
959
960
961
962
963
964
965

966
967
968
969
970
971
972
973

974
975
976
977
978
979
980

    help_bt = help_w

    def help_down(self):
        self.help_d()

    def help_d(self):
        print >>self.stdout, """d(own)
Move the current frame one level down in the stack trace
(to a newer frame)."""


    def help_up(self):
        self.help_u()

    def help_u(self):
        print >>self.stdout, """u(p)
Move the current frame one level up in the stack trace
(to an older frame)."""


    def help_break(self):
        self.help_b()

    def help_b(self):
        print >>self.stdout, """b(reak) ([file:]lineno | function) [, condition]
With a line number argument, set a break there in the current







|

|
>





|

|
>







956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982

    help_bt = help_w

    def help_down(self):
        self.help_d()

    def help_d(self):
        print >>self.stdout, """d(own) [arg]
Move the current frame one level down in the stack trace
(to a newer frame).  If 'arg' is present, go down that
many levels."""

    def help_up(self):
        self.help_u()

    def help_u(self):
        print >>self.stdout, """u(p) [arg]
Move the current frame one level up in the stack trace
(to an older frame).  If 'arg' is present, go up that many
levels."""

    def help_break(self):
        self.help_b()

    def help_b(self):
        print >>self.stdout, """b(reak) ([file:]lineno | function) [, condition]
With a line number argument, set a break there in the current