Message407350
I have a python file:
def do_something():
pass
def main():
a = 1
b = 2
c = a+b
print(f"c:{c}")
pass
if __name__ == '__main__':
main()
I run this command:
python -m pdb -c "b 5" -c "commands 1;;do_something();;end" -c "c" main.py
It doesn't work.
And I have a .pdbrc file
b 5
commands 1
do_something()
end
c
It doesn't work either. |
|
| Date |
User |
Action |
Args |
| 2021-11-30 03:36:50 | Zrincet | set | recipients:
+ Zrincet |
| 2021-11-30 03:36:50 | Zrincet | set | messageid: <1638243410.6.0.709504814494.issue45937@roundup.psfhosted.org> |
| 2021-11-30 03:36:50 | Zrincet | link | issue45937 messages |
| 2021-11-30 03:36:50 | Zrincet | create | |
|