/usr/bin
NameSizeModeActions
aa-enabled353440755editdlrm
aa-exec353440755editdlrm
aa-features-abi312480755editdlrm
ab598320755editdlrm
aclocal360200755editdlrm
aclocal-1.16360200755editdlrm
add-apt-repository144780755editdlrm
addpart147200755editdlrm
addr2line273440755editdlrm
aggregate_profile18870755editdlrm
apport-bug25680755editdlrm
apport-cli133600755editdlrm
apport-collect25680755editdlrm
apport-unpack20700755editdlrm
apropos484160755editdlrm
apt188240755editdlrm
apt-add-repository144780755editdlrm
apt-cache844480755editdlrm
apt-cdrom271040755editdlrm
apt-config270240755editdlrm
apt-extracttemplates230080755editdlrm
apt-ftparchive2360080755editdlrm
apt-get516800755editdlrm
apt-key281730755editdlrm
apt-mark516800755editdlrm
apt-sortpkgs393200755editdlrm
ar557920755editdlrm
arch312400755editdlrm
as4673520755editdlrm
autoconf152040755editdlrm
autoheader90340755editdlrm
autom4te334750755editdlrm
automake2620550755editdlrm
automake-1.162620550755editdlrm
automat-visualize34050755editdlrm
autoreconf269340755editdlrm
autoscan171770755editdlrm
autoupdate340170755editdlrm
awk7049840755editdlrm
b22581200755editdlrm
b2sum517280755editdlrm
base32353360755editdlrm
base64353360755editdlrm
basename353360755editdlrm
basenc476240755editdlrm
bash13965200755editdlrm
bashbug68180755editdlrm
bc930000755editdlrm
bcp5683040755editdlrm
bjam2581200755editdlrm
boltctl1259360755editdlrm
bootctl721840755editdlrm
btrfs8643920755editdlrm
btrfs-convert4948480755editdlrm
btrfs-find-root4498720755editdlrm
btrfs-image4784640755editdlrm
btrfs-map-logical4497920755editdlrm
btrfs-select-super4497920755editdlrm
btrfsck8643920755editdlrm
btrfstune4538960755editdlrm
bunzip2392960755editdlrm
busctl926640755editdlrm
busybox21932720755editdlrm
byobu83630755editdlrm
byobu-config9960755editdlrm
byobu-ctrl-a47740755editdlrm
byobu-disable12950755editdlrm
byobu-disable-prompt13410755editdlrm
byobu-enable11820755editdlrm
byobu-enable-prompt14530755editdlrm
byobu-export13510755editdlrm
byobu-janitor64400755editdlrm
byobu-keybindings15060755editdlrm
byobu-launch33290755editdlrm
byobu-launcher19100755editdlrm
byobu-launcher-install24590755editdlrm
byobu-launcher-uninstall15610755editdlrm
byobu-layout33480755editdlrm
byobu-prompt11560755editdlrm
byobu-quiet14100755editdlrm
byobu-reconnect-sockets32980755editdlrm
byobu-screen83630755editdlrm
byobu-select-backend14520755editdlrm
byobu-select-profile51230755editdlrm
byobu-select-session10120755editdlrm
byobu-shell16000755editdlrm
byobu-silent13060755editdlrm
byobu-status60150755editdlrm
byobu-status-detail12070755editdlrm
byobu-tmux83630755editdlrm
byobu-ugraph46670755editdlrm
byobu-ulevel119960755editdlrm
bzcat392960755editdlrm
bzcmp22250755editdlrm
bzdiff22250755editdlrm
bzegrep37750755editdlrm
bzexe48930755editdlrm
bzfgrep37750755editdlrm
bzgrep37750755editdlrm
bzip2392960755editdlrm
bzip2recover146400755editdlrm
bzless12970755editdlrm
bzmore12970755editdlrm
c++9326800755editdlrm
c++filt228000755editdlrm
c894280755editdlrm
c89-gcc4280755editdlrm
c994540755editdlrm
c99-gcc4540755editdlrm
caf140010755editdlrm
caf.openmpi140010755editdlrm
cafrun103220755editdlrm
cafrun.openmpi103220755editdlrm
captoinfo884880755editdlrm
cat352880755editdlrm
catman355920755editdlrm
cautious-launcher7580755editdlrm
cc9285840755editdlrm
ccmake-0editdlrm
certbot9610755editdlrm
cftp39560755editdlrm
cgi-fcgi185840755editdlrm
chacl228320755editdlrm
chage721842755editdlrm
chardet9650755editdlrm
chardetect9650755editdlrm
chattr146560755editdlrm
chcon599120755editdlrm
checkgid146480755editdlrm
checkint1100755editdlrm
chfn727124755editdlrm
chgrp558160755editdlrm
chmod558160755editdlrm
choom229120755editdlrm
chown599120755editdlrm
chrt270080755editdlrm
chsh448084755editdlrm
chvt145680755editdlrm
ckbcomp1498170755editdlrm
ckeygen39620755editdlrm
cksum352400755editdlrm
clear146560755editdlrm
clear_console145680755editdlrm
cloud-id9660755editdlrm
cloud-init9700755editdlrm
cloud-init-per21080755editdlrm
clusterdb94270755editdlrm
cmake-0editdlrm
cmake-gui-0editdlrm
cmp434080755editdlrm
codepage144880755editdlrm
col229200755editdlrm
col19630755editdlrm
col29630755editdlrm
col39630755editdlrm
col49630755editdlrm
col59630755editdlrm
col69630755editdlrm
col79630755editdlrm
col89630755editdlrm
col99630755editdlrm
colcrt147280755editdlrm
colrm147280755editdlrm
column352080755editdlrm
comm353440755editdlrm
compose184910755editdlrm
conch39580755editdlrm
containerd480514720755editdlrm
containerd-shim-runc-v283370160755editdlrm
corelist153750755editdlrm
cp1418320755editdlrm
cpack-0editdlrm
cpan83600755editdlrm
cpan5.34-x86_64-linux-gnu83810755editdlrm
cpio1450240755editdlrm
cpp9285840755editdlrm
cpp-97851440755editdlrm
cpp-119285840755editdlrm
createdb94270755editdlrm
createlang94270755editdlrm
createuser94270755editdlrm
crontab395682755editdlrm
csplit1090640755editdlrm
ctail9600755editdlrm
ctest-0editdlrm
ctr249625840755editdlrm
ctstat232000755editdlrm
curl2603280755editdlrm
cut394320755editdlrm
cvtsudoers3035120755editdlrm
c_rehash69630755editdlrm
dash1256880755editdlrm
date1049680755editdlrm
dbilogstrip13800755editdlrm
dbiprof62060755editdlrm
dbiproxy53940755editdlrm
dbus-cleanup-sockets146320755editdlrm
dbus-daemon2327760755editdlrm
dbus-monitor269200755editdlrm
dbus-run-session146320755editdlrm
dbus-send269200755editdlrm
dbus-update-activation-environment146320755editdlrm
dbus-uuidgen146320755editdlrm
dbxtool269280755editdlrm
dd681200755editdlrm
deallocvt145680755editdlrm
deb-systemd-helper213940755editdlrm
deb-systemd-invoke61560755editdlrm
debconf28590755editdlrm
debconf-apt-progress115410755editdlrm
debconf-communicate6080755editdlrm
debconf-copydb17190755editdlrm
debconf-escape6470755editdlrm
debconf-set-selections29950755editdlrm
debconf-show18270755editdlrm
debian-distro-info235040755editdlrm
decodemail356000755editdlrm
delpart147200755editdlrm
delv464080755editdlrm
derb275200755editdlrm
df850720755editdlrm
dfu-tool1129440755editdlrm
dh_autotools-dev_restoreconfig18360755editdlrm
dh_autotools-dev_updateconfig18500755editdlrm
dh_bash-completion44140755editdlrm
dh_doxygen42310755editdlrm
dh_perl_dbi11980755editdlrm
dh_perl_openssl15410755editdlrm
diff1336800755editdlrm
diff3558240755editdlrm
dig1544480755editdlrm
dir1382160755editdlrm
dircolors394400755editdlrm
dirmngr4434080755editdlrm
dirmngr-client562400755editdlrm
dirname311120755editdlrm
distro-info234400755editdlrm
dmesg723040755editdlrm
dnsdomainname227600755editdlrm
do-release-upgrade106750755editdlrm
docker454103740755editdlrm
docker-proxy29730990755editdlrm
dockerd1026518480755editdlrm
dockerd-rootless-setuptool.sh164880755editdlrm
dockerd-rootless.sh93350755editdlrm
domainname227600755editdlrm
dotlock155042755editdlrm
dotlock.mailutils155042755editdlrm
doxygen169379680755editdlrm
doxyindexer5759680755editdlrm
doxysearch.cgi516000755editdlrm
dpkg3181440755editdlrm
dpkg-architecture138320755editdlrm
dpkg-buildflags75650755editdlrm
dpkg-buildpackage324250755editdlrm
dpkg-checkbuilddeps76240755editdlrm
dpkg-deb1377200755editdlrm
dpkg-distaddfile27820755editdlrm
dpkg-divert1213360755editdlrm
dpkg-genbuildinfo171060755editdlrm
dpkg-genchanges176870755editdlrm
dpkg-gencontrol145800755editdlrm
dpkg-gensymbols109020755editdlrm
dpkg-maintscript-helper212090755editdlrm
dpkg-mergechangelogs89030755editdlrm
dpkg-name67890755editdlrm
dpkg-parsechangelog49470755editdlrm
dpkg-query1418480755editdlrm
dpkg-realpath41890755editdlrm
dpkg-scanpackages87050755editdlrm
dpkg-scansources91740755editdlrm
dpkg-shlibdeps317000755editdlrm
dpkg-source231060755editdlrm
dpkg-split1008720755editdlrm
dpkg-statoverride473680755editdlrm
dpkg-trigger434240755editdlrm
dpkg-vendor32620755editdlrm
dropdb94270755editdlrm
droplang94270755editdlrm
dropuser94270755editdlrm
du1500240755editdlrm
dumpkeys1625200755editdlrm
dvipdf10070755editdlrm
dwp19040000755editdlrm
eatmydata28060755editdlrm
ec2metadata85830755editdlrm
echo351280755editdlrm
ed558000755editdlrm
edit184910755editdlrm
editor2831600755editdlrm
efibootdump226800755editdlrm
efibootmgr443120755editdlrm
egrep280755editdlrm
eject432400755editdlrm
elfedit355520755editdlrm
enc2xs418190755editdlrm
encguess30780755editdlrm
env439760755editdlrm
envsubst352000755editdlrm
eps2eps6390755editdlrm
eqn1929680755editdlrm
ex37879520755editdlrm
expand353600755editdlrm
expiry231362755editdlrm
expr1048720755editdlrm
f779285840755editdlrm
f959285840755editdlrm
factor722000755editdlrm
fail2ban-client14190755editdlrm
fail2ban-python59172240755editdlrm
fail2ban-regex12800755editdlrm
fail2ban-server14170755editdlrm
fail2ban-testcases22850755editdlrm
faillog231360755editdlrm
faked-sysv311200755editdlrm
faked-tcp311120755editdlrm
fakeroot39950755editdlrm
fakeroot-sysv39950755editdlrm
fakeroot-tcp39900755editdlrm
fallocate229120755editdlrm
false269360755editdlrm
fcgistarter146480755editdlrm
fgconsole145680755editdlrm
fgrep280755editdlrm
file272000755editdlrm
finalrd21120755editdlrm
fincore229600755editdlrm
find2820880755editdlrm
findmnt651360755editdlrm
flock230240755editdlrm
fmt394320755editdlrm
fold353360755editdlrm
free268640755editdlrm
frm279440755editdlrm
frm.mailutils279440755editdlrm
from274640755editdlrm
from.mailutils274640755editdlrm
ftp1831920755editdlrm
funzip228320755editdlrm
fuser402560755editdlrm
fusermount352004755editdlrm
fusermount3352004755editdlrm
fwupdagent1948640755editdlrm
fwupdate842720755editdlrm
fwupdmgr1948640755editdlrm
fwupdtool4044000755editdlrm
g++9326800755editdlrm
g++-119326800755editdlrm
gapplication229200755editdlrm
gawk7049840755editdlrm
gcc9285840755editdlrm
gcc-97851440755editdlrm
gcc-119285840755editdlrm
gcc-ar271760755editdlrm
gcc-ar-9271760755editdlrm
gcc-ar-11271760755editdlrm
gcc-nm271760755editdlrm
gcc-nm-9230720755editdlrm
gcc-nm-11271760755editdlrm
gcc-ranlib271760755editdlrm
gcc-ranlib-9271760755editdlrm
gcc-ranlib-11271760755editdlrm
gcov4096080755editdlrm
gcov-93931360755editdlrm
gcov-114096080755editdlrm
gcov-dump2578800755editdlrm
gcov-dump-92414480755editdlrm
gcov-dump-112578800755editdlrm
gcov-tool2825520755editdlrm
gcov-tool-92743200755editdlrm
gcov-tool-112825520755editdlrm
gdbus515920755editdlrm
genbrk151360755editdlrm
gencat270000755editdlrm
gencfu150800755editdlrm
gencnval272480755editdlrm
gendict274240755editdlrm
genrb1514640755editdlrm
geqn1929680755editdlrm
getconf351120755editdlrm
getent395760755editdlrm
getfacl315520755editdlrm
getkeycodes145680755editdlrm
getopt229120755editdlrm
gettext352000755editdlrm
gettext.sh51880755editdlrm
gfortran9285840755editdlrm
gfortran-97892400755editdlrm
gfortran-119285840755editdlrm
ghostscript144880755editdlrm
ginstall-info1057040755editdlrm
gio925680755editdlrm
gio-querymodules146480755editdlrm
git37103600755editdlrm
git-receive-pack37103600755editdlrm
git-shell5658400755editdlrm
git-upload-archive37103600755editdlrm
git-upload-pack37103600755editdlrm
glib-compile-schemas515120755editdlrm
gmake2556960755editdlrm
gold31899200755editdlrm
gpasswd720724755editdlrm
gpg10506240755editdlrm
gpg-agent3204720755editdlrm
gpg-connect-agent849840755editdlrm
gpg-wks-server1178160755editdlrm
gpg-zip35160755editdlrm
gpg210506240755editdlrm
gpgcompose5084000755editdlrm
gpgconf1297760755editdlrm
gpgparsemail352000755editdlrm
gpgsm4289520755editdlrm
gpgsplit271840755editdlrm
gpgtar649120755editdlrm
gpgv2775440755editdlrm
gpic2048400755editdlrm
gprof1144720755editdlrm
grep1827280755editdlrm
gresource228400755editdlrm
groff967680755editdlrm
grog27760755editdlrm
grops1664560755editdlrm
grotty1213680755editdlrm
groups353360755editdlrm
growpart268500755editdlrm
grub-editenv3860000755editdlrm
grub-file8360480755editdlrm
grub-fstest9604320755editdlrm
grub-glue-efi2538080755editdlrm
grub-kbdcomp16810755editdlrm
grub-menulst2cfg2336000755editdlrm
grub-mkfont2789600755editdlrm
grub-mkimage3697120755editdlrm
grub-mklayout2582240755editdlrm
grub-mknetdir4276800755editdlrm
grub-mkpasswd-pbkdf22623520755editdlrm
grub-mkrelpath2535200755editdlrm
grub-mkrescue10224320755editdlrm
grub-mkstandalone5058080755editdlrm
grub-mount7791040755editdlrm
grub-ntldr-img391600755editdlrm
grub-render-label8487200755editdlrm
grub-script-check2823200755editdlrm
grub-syslinux2cfg8000960755editdlrm
gs144880755editdlrm
gsbj3500755editdlrm
gsdj3520755editdlrm
gsdj5003520755editdlrm
gsettings310320755editdlrm
gslj3530755editdlrm
gslp3500755editdlrm
gsnd2770755editdlrm
gtbl1295120755editdlrm
gunzip23460755editdlrm
gzexe64800755editdlrm
gzip934240755editdlrm
h2ph292270755editdlrm
h2xs609340755editdlrm
hardlink352560755editdlrm
hd516000755editdlrm
head435280755editdlrm
helpztags25140755editdlrm
hexdump516000755editdlrm
host1216720755editdlrm
hostid312400755editdlrm
hostname227600755editdlrm
hostnamectl311040755editdlrm
htcacheclean392320755editdlrm
htdbm269360755editdlrm
htdigest146480755editdlrm
html2text2235600755editdlrm
htop2838400755editdlrm
htpasswd269360755editdlrm
hwe-support-status108300755editdlrm
i386272880755editdlrm
ibd2sdi3018160755editdlrm
iconv680000755editdlrm
icuexportdata317280755editdlrm
icuinfo149680755editdlrm
id394320755editdlrm
ifnames41830755editdlrm
info3089840755editdlrm
infobrowser3089840755editdlrm
infocmp638720755editdlrm
infotocap884880755editdlrm
innochecksum2041760755editdlrm
inspect4049120755editdlrm
install1459440755editdlrm
install-info1057040755editdlrm
instmodsh43730755editdlrm
ionice188160755editdlrm
ip7188960755editdlrm
ipcmk229840755editdlrm
ipcrm188160755editdlrm
ipcs392960755editdlrm
iptables-xml992720755editdlrm
ischroot145360755editdlrm
iscsiadm4080240755editdlrm
join476640755editdlrm
journalctl802720755editdlrm
js-0editdlrm
json-patch-jsondiff10040755editdlrm
jsondiff10040755editdlrm
jsonpatch38590755editdlrm
jsonpointer18380755editdlrm
jsonschema3970755editdlrm
json_pp49920755editdlrm
json_xs70130755editdlrm
kbdinfo186640755editdlrm
kbd_mode148720755editdlrm
kbxutil643360755editdlrm
keep-one-running35920755editdlrm
kernel-install49020755editdlrm
keyring9610755editdlrm
kill309520755editdlrm
killall320960755editdlrm
kmod1703520755editdlrm
kmodsign188880755editdlrm
landscape-sysinfo6240755editdlrm
last352000755editdlrm
lastb352000755editdlrm
lastlog282880755editdlrm
lcf77840755editdlrm
ld17361840755editdlrm
ld.bfd17361840755editdlrm
ld.gold31899200755editdlrm
ldd54440755editdlrm
less1990480755editdlrm
lessecho146560755editdlrm
lessfile90470755editdlrm
lesskey242720755editdlrm
lesspipe90470755editdlrm
letsencrypt9610755editdlrm
lexgrog1021440755editdlrm
libnetcfg157780755editdlrm
libtool3752960755editdlrm
libtoolize1313390755editdlrm
link312400755editdlrm
linux-boot-prober15770755editdlrm
linux-check-removal40900755editdlrm
linux-update-symlinks63200755editdlrm
linux-version26980755editdlrm
linux32272880755editdlrm
linux64272880755editdlrm
ln599120755editdlrm
lnstat232000755editdlrm
loadkeys2035280755editdlrm
loadunimap310480755editdlrm
locale589440755editdlrm
locale-check144880755editdlrm
localectl270000755editdlrm
localedef3348080755editdlrm
logger358080755editdlrm
login529760755editdlrm
loginctl598880755editdlrm
logname312400755editdlrm
logresolve146560755editdlrm
look188240755editdlrm
lowntfs-3g1177360755editdlrm
ls1382160755editdlrm
lsattr146560755editdlrm
lsblk1253200755editdlrm
lsb_release36380755editdlrm
lscpu1007360755editdlrm
lshw9228240755editdlrm
lsinitramfs7060755editdlrm
lsipc515840755editdlrm
lslocks314400755editdlrm
lslogins515840755editdlrm
lsmem352000755editdlrm
lsmod1703520755editdlrm
lsns393040755editdlrm
lsof1675440755editdlrm
lspci942880755editdlrm
lspgpot10810755editdlrm
lsusb2524320755editdlrm
lto-dump-11248872640755editdlrm
lua2441840755editdlrm
lua5.22441840755editdlrm
luac1090480755editdlrm
luac5.21090480755editdlrm
lzcat845040755editdlrm
lzcmp70230755editdlrm
lzdiff70230755editdlrm
lzegrep60150755editdlrm
lzfgrep60150755editdlrm
lzgrep60150755editdlrm
lzless17990755editdlrm
lzma845040755editdlrm
lzmainfo145680755editdlrm
lzmore21620755editdlrm
m41580720755editdlrm
mail2348880755editdlrm
mail.mailutils2348880755editdlrm
mailmail39640755editdlrm
mailq311840755editdlrm
mailx2348880755editdlrm
make2556960755editdlrm
make-first-existing-target49050755editdlrm
makeconv521120755editdlrm
man1205040755editdlrm
man-recode365360755editdlrm
mandb1432960755editdlrm
manifest19420755editdlrm
manpath315200755editdlrm
mapscrn310480755editdlrm
mawk1585040755editdlrm
mc11033520755editdlrm
mcdiff11033520755editdlrm
mcedit11033520755editdlrm
mcookie270800755editdlrm
mcview11033520755editdlrm
md5sum434320755editdlrm
md5sum.textutils434320755editdlrm
mdig516080755editdlrm
mesg147200755editdlrm
messages150240755editdlrm
messages.mailutils150240755editdlrm
migrate-pubring-from-classic-gpg30600755editdlrm
mimeview198160755editdlrm
mkdir681040755editdlrm
mkfifo394320755editdlrm
mknod435280755editdlrm
mkpasswd270080755editdlrm
mksquashfs2607920755editdlrm
mktemp394320755editdlrm
mk_modmap161630755editdlrm
mmcli2804160755editdlrm
mokutil609040755editdlrm
more434000755editdlrm
mount474884755editdlrm
mountpoint188160755editdlrm
movemail412240755editdlrm
movemail.mailutils412240755editdlrm
mpic++269440755editdlrm
mpic++.openmpi269440755editdlrm
mpiCC269440755editdlrm
mpicc269440755editdlrm
mpiCC.openmpi269440755editdlrm
mpicc.openmpi269440755editdlrm
mpicxx269440755editdlrm
mpicxx.openmpi269440755editdlrm
mpiexec146480755editdlrm
mpiexec.openmpi146480755editdlrm
mpif77269440755editdlrm
mpif77.openmpi269440755editdlrm
mpif90269440755editdlrm
mpif90.openmpi269440755editdlrm
mpifort269440755editdlrm
mpifort.openmpi269440755editdlrm
mpijavac48160755editdlrm
mpijavac.pl48160755editdlrm
mpirun146480755editdlrm
mpirun.openmpi146480755editdlrm
mt683360755editdlrm
mt-gnu683360755editdlrm
mtr739840755editdlrm
mtr-packet392160755editdlrm
mv1377520755editdlrm
myisamchk68716480755editdlrm
myisamlog66935040755editdlrm
myisampack67238400755editdlrm
myisam_ftdump66613120755editdlrm
mysql69698160755editdlrm
mysqladmin68117440755editdlrm
mysqlanalyze68083520755editdlrm
mysqlbinlog71253760755editdlrm
mysqlcheck68083520755editdlrm
mysqldump68962240755editdlrm
mysqldumpslow77190755editdlrm
mysqld_multi273670755editdlrm
mysqld_safe291370755editdlrm
mysqlimport67996960755editdlrm
mysqloptimize68083520755editdlrm
mysqlpump71825920755editdlrm
mysqlrepair68083520755editdlrm
mysqlreport390160755editdlrm
mysqlshow68024480755editdlrm
mysqlslap68172960755editdlrm
mysql_config_editor1608000755editdlrm
mysql_migrate_keyring68545600755editdlrm
mysql_secure_installation67876960755editdlrm
mysql_ssl_rsa_setup1995760755editdlrm
mysql_tzinfo_to_sql767120755editdlrm
mysql_upgrade68671360755editdlrm
my_print_defaults1753520755editdlrm
namei229120755editdlrm
nano2831600755editdlrm
nawk7049840755editdlrm
nc395600755editdlrm
nc.openbsd395600755editdlrm
ncdu846000755editdlrm
ncurses5-config84020755editdlrm
ncurses6-config84020755editdlrm
ncursesw5-config84050755editdlrm
ncursesw6-config84050755editdlrm
neqn9130755editdlrm
netcat395600755editdlrm
netload226800755editdlrm
netstat1583040755editdlrm
networkctl1048320755editdlrm
networkd-dispatcher201850755editdlrm
newaliases311840755editdlrm
newgrp404964755editdlrm
NF9630755editdlrm
ngettext352000755editdlrm
nice353360755editdlrm
nisdomainname227600755editdlrm
nl1009360755editdlrm
nm446720755editdlrm
nohup352400755editdlrm
nproc353360755editdlrm
nroff32930755editdlrm
nsenter272400755editdlrm
nslookup1216720755editdlrm
nstat311040755editdlrm
nsupdate763440755editdlrm
ntfs-3g1628240755editdlrm
ntfs-3g.probe147200755editdlrm
ntfscat270080755editdlrm
ntfscluster393040755editdlrm
ntfscmp311040755editdlrm
ntfsdecrypt434000755editdlrm
ntfsfallocate270160755editdlrm
ntfsfix352080755editdlrm
ntfsinfo556880755editdlrm
ntfsls281120755editdlrm
ntfsmove311120755editdlrm
ntfsrecover1089280755editdlrm
ntfssecaudit807520755editdlrm
ntfstruncate269360755editdlrm
ntfsusermap187360755editdlrm
ntfswipe439360755editdlrm
numfmt558480755editdlrm
objcopy1664400755editdlrm
objdump3738880755editdlrm
od681040755editdlrm
oem-getlogs87920755editdlrm
ompi-clean149520755editdlrm
ompi-server191200755editdlrm
ompi_info310320755editdlrm
on_ac_power37880755editdlrm
opalc++269440755editdlrm
opalcc269440755editdlrm
opal_wrapper269440755editdlrm
open184910755editdlrm
openssl10012720755editdlrm
openvt231280755editdlrm
orte-clean149520755editdlrm
orte-info351280755editdlrm
orte-server191200755editdlrm
ortecc269440755editdlrm
orted146480755editdlrm
orterun146480755editdlrm
os-prober45510755editdlrm
oshc++269440755editdlrm
oshCC269440755editdlrm
oshcc269440755editdlrm
oshcxx269440755editdlrm
oshfort269440755editdlrm
oshmem_info310320755editdlrm
oshrun146480755editdlrm
pager1990480755editdlrm
paperconf144880755editdlrm
partx597840755editdlrm
passwd599764755editdlrm
paste352400755editdlrm
pastebinit165020755editdlrm
patch1909920755editdlrm
pathchk353360755editdlrm
pbget25690755editdlrm
pbput25690755editdlrm
pbputs25690755editdlrm
pdb3632250755editdlrm
pdb3.10632250755editdlrm
pdf2dsc6980755editdlrm
pdf2ps9090755editdlrm
peekfd146400755editdlrm
perl38062000755editdlrm
perl5.34-x86_64-linux-gnu146480755editdlrm
perl5.34.038062000755editdlrm
perlbug451830755editdlrm
perldoc1250755editdlrm
perlivp108670755editdlrm
perlthanks451830755editdlrm
perror15343920755editdlrm
pf2afm4980755editdlrm
pfbtopfa5160755editdlrm
pgbench94270755editdlrm
pgrep309680755editdlrm
pg_basebackup94270755editdlrm
pg_dump94270755editdlrm
pg_dumpall94270755editdlrm
pg_isready94270755editdlrm
pg_receivewal94270755editdlrm
pg_receivexlog94270755editdlrm
pg_recvlogical94270755editdlrm
pg_restore94270755editdlrm
phar152520755editdlrm
phar.phar152520755editdlrm
phar.phar8.1152440755editdlrm
phar.phar8.3152390755editdlrm
phar.phar8.5152520755editdlrm
phar8.1152440755editdlrm
phar8.1.phar152440755editdlrm
phar8.3152390755editdlrm
phar8.3.phar152390755editdlrm
phar8.5152520755editdlrm
phar8.5.phar152520755editdlrm
php103005440755editdlrm
php8.155762000755editdlrm
php8.358004000755editdlrm
php8.5103005440755editdlrm
phpdbg124096080755editdlrm
phpdbg8.5124096080755editdlrm
pic2048400755editdlrm
pico2831600755editdlrm
piconv83600755editdlrm
pidof311120755editdlrm
pidwait309680755editdlrm
pigz1375840755editdlrm
pinentry600560755editdlrm
pinentry-curses600560755editdlrm
ping766800755editdlrm
ping4766800755editdlrm
ping6766800755editdlrm
pinky352400755editdlrm
pkaction187360755editdlrm
pkcheck228320755editdlrm
pkcon597040755editdlrm
pkexec308724755editdlrm
pkg-config514880755editdlrm
pkgdata445760755editdlrm
pkill309680755editdlrm
pkmon228400755editdlrm
pkttyagent187360755editdlrm
pl2pm45360755editdlrm
pldd229040755editdlrm
plymouth474080755editdlrm
pmap350640755editdlrm
pod2html41370755editdlrm
pod2man150340755editdlrm
pod2text108030755editdlrm
pod2usage41070755editdlrm
podchecker36580755editdlrm
pollinate87440755editdlrm
pphs4040755editdlrm
pr681760755editdlrm
preconv557840755editdlrm
print184910755editdlrm
printafm3950755editdlrm
printenv311120755editdlrm
printf516480755editdlrm
prlimit275360755editdlrm
pro10030755editdlrm
profile2mat27090755editdlrm
prove136580755editdlrm
prtstat229120755editdlrm
ps1417760755editdlrm
ps2ascii6310755editdlrm
ps2epsi12640755editdlrm
ps2pdf2720755editdlrm
ps2pdf122150755editdlrm
ps2pdf132150755editdlrm
ps2pdf142150755editdlrm
ps2pdfwr10780755editdlrm
ps2ps6470755editdlrm
ps2ps26690755editdlrm
ps2txt6310755editdlrm
psfaddtable268560755editdlrm
psfgettable268560755editdlrm
psfstriptable268560755editdlrm
psfxtable268560755editdlrm
pslog146400755editdlrm
psql94270755editdlrm
pstree361680755editdlrm
pstree.x11361680755editdlrm
ptar35660755editdlrm
ptardiff26450755editdlrm
ptargrep43950755editdlrm
ptx1295920755editdlrm
purge-old-kernels11490755editdlrm
pwd353360755editdlrm
pwdx145680755editdlrm
py3clean78150755editdlrm
py3compile131930755editdlrm
py3versions119100755editdlrm
pybabel9530755editdlrm
pybabel-python39530755editdlrm
pydoc3790755editdlrm
pydoc3.10790755editdlrm
pygettext3242350755editdlrm
pygettext3.10242350755editdlrm
pyhtmlizer39680755editdlrm
pyserial-miniterm9750755editdlrm
pyserial-ports9690755editdlrm
python359172240755editdlrm
python3-config31230755editdlrm
python3.1059172240755editdlrm
python3.10-config31230755editdlrm
pzstd7193280755editdlrm
qrencode391680755editdlrm
quickbook11093520755editdlrm
ranlib557920755editdlrm
rbash13965200755editdlrm
rcp1337200755editdlrm
rdma1008800755editdlrm
readelf7766400755editdlrm
readlink393360755editdlrm
readmsg367760755editdlrm
readmsg.mailutils367760755editdlrm
realpath393360755editdlrm
red890755editdlrm
redis-benchmark7482000755editdlrm
redis-check-aof14745040755editdlrm
redis-check-rdb14745040755editdlrm
redis-cli3626320755editdlrm
reindexdb94270755editdlrm
renice147200755editdlrm
rescan-scsi-bus.sh389640755editdlrm
reset269440755editdlrm
resizecons269520755editdlrm
resizepart229120755editdlrm
resolvectl1336560755editdlrm
rev147200755editdlrm
rgrep300755editdlrm
rlogin8468880755editdlrm
rm599120755editdlrm
rmail187360755editdlrm
rmdir434320755editdlrm
rnano2831600755editdlrm
rootlesskit153666000755editdlrm
rotatelogs270160755editdlrm
routef2080755editdlrm
routel16560755editdlrm
rpcgen968640755editdlrm
rrsync126390755editdlrm
rsh8468880755editdlrm
rsync5346240755editdlrm
rsync-ssl51360755editdlrm
rtstat232000755editdlrm
run-mailcap184910755editdlrm
run-one35920755editdlrm
run-one-constantly35920755editdlrm
run-one-until-failure35920755editdlrm
run-one-until-success35920755editdlrm
run-parts271760755editdlrm
run-this-one35920755editdlrm
runc120034480755editdlrm
runcon353360755editdlrm
rview37879520755editdlrm
rvim37879520755editdlrm
savelog104870755editdlrm
sbattach271760755editdlrm
sbkeysync355760755editdlrm
sbsiglist149520755editdlrm
sbsign355360755editdlrm
sbvarsign232800755editdlrm
sbverify354400755editdlrm
scandeps66090755editdlrm
scp1337200755editdlrm
screen4774320755editdlrm
screendump144880755editdlrm
script515840755editdlrm
scriptlive433920755editdlrm
scriptreplay352000755editdlrm
scsi_logging_level85850755editdlrm
scsi_mandat36020755editdlrm
scsi_readcap13270755editdlrm
scsi_ready11210755editdlrm
scsi_satl38300755editdlrm
scsi_start12850755editdlrm
scsi_stop14740755editdlrm
scsi_temperature9360755editdlrm
sdiff475040755editdlrm
sed1132240755editdlrm
see184910755editdlrm
select-editor24500755editdlrm
sensible-browser12900755editdlrm
sensible-editor12690755editdlrm
sensible-pager5650755editdlrm
seq476240755editdlrm
setarch272880755editdlrm
setfacl439360755editdlrm
setfont515280755editdlrm
setkeycodes145680755editdlrm
setleds186480755editdlrm
setlogcons145680755editdlrm
setmetamode146000755editdlrm
setpci311120755editdlrm
setpriv393040755editdlrm
setsid147200755editdlrm
setterm352000755editdlrm
setupcon392330755editdlrm
sftp1501840755editdlrm
sg404964755editdlrm
sginfo737360755editdlrm
sgm_dd392320755editdlrm
sgp_dd474240755editdlrm
sg_bg_ctl148560755editdlrm
sg_compare_and_write275600755editdlrm
sg_copy_results238560755editdlrm
sg_dd556320755editdlrm
sg_decode_sense151120755editdlrm
sg_emc_trespass146480755editdlrm
sg_format402960755editdlrm
sg_get_config362400755editdlrm
sg_get_elem_status274320755editdlrm
sg_get_lba_status234960755editdlrm
sg_ident149520755editdlrm
sg_inq1224800755editdlrm
sg_logs1545520755editdlrm
sg_luns233360755editdlrm
sg_map187440755editdlrm
sg_map26273440755editdlrm
sg_modes471840755editdlrm
sg_opcodes358480755editdlrm
sg_persist369440755editdlrm
sg_prevent148560755editdlrm
sg_raw275600755editdlrm
sg_rbuf232720755editdlrm
sg_rdac146480755editdlrm
sg_read269440755editdlrm
sg_readcap233360755editdlrm
sg_read_attr375280755editdlrm
sg_read_block_limits148880755editdlrm
sg_read_buffer282240755editdlrm
sg_read_long150480755editdlrm
sg_reassign150160755editdlrm
sg_referrals150160755editdlrm
sg_rep_pip149200755editdlrm
sg_rep_zones274400755editdlrm
sg_requests233040755editdlrm
sg_reset150160755editdlrm
sg_reset_wp149520755editdlrm
sg_rmsn148560755editdlrm
sg_rtpg149520755editdlrm
sg_safte232400755editdlrm
sg_sanitize276560755editdlrm
sg_sat_identify191760755editdlrm
sg_sat_phy_event194640755editdlrm
sg_sat_read_gplog191760755editdlrm
sg_sat_set_features191440755editdlrm
sg_scan187440755editdlrm
sg_seek193360755editdlrm
sg_senddiag278480755editdlrm
sg_ses1228480755editdlrm
sg_ses_microcode280160755editdlrm
sg_start193040755editdlrm
sg_stpg232720755editdlrm
sg_stream_ctl191440755editdlrm
sg_sync150160755editdlrm
sg_test_rwbuf190480755editdlrm
sg_timestamp192800755editdlrm
sg_turs273360755editdlrm
sg_unmap233040755editdlrm
sg_verify193680755editdlrm
sg_vpd1171680755editdlrm
sg_write_buffer278880755editdlrm
sg_write_long151120755editdlrm
sg_write_same275920755editdlrm
sg_write_verify274320755editdlrm
sg_write_x569360755editdlrm
sg_wr_mode232720755editdlrm
sg_xcopy433360755editdlrm
sg_zone152160755editdlrm
sh1256880755editdlrm
sha1sum434320755editdlrm
sha224sum516240755editdlrm
sha256sum516240755editdlrm
sha384sum598160755editdlrm
sha512sum598160755editdlrm
shasum99790755editdlrm
shmemc++269440755editdlrm
shmemCC269440755editdlrm
shmemcc269440755editdlrm
shmemcxx269440755editdlrm
shmemfort269440755editdlrm
shmemrun146480755editdlrm
showconsolefont186640755editdlrm
showkey186640755editdlrm
shred517200755editdlrm
shuf476240755editdlrm
sieve328160755editdlrm
size311840755editdlrm
skill309520755editdlrm
slabtop227680755editdlrm
sleep353360755editdlrm
slirp4netns519920755editdlrm
slogin8468880755editdlrm
snap215886960755editdlrm
snapctl75628400755editdlrm
snapfuse391440755editdlrm
snice309520755editdlrm
soelim312080755editdlrm
sort1011760755editdlrm
sos6120755editdlrm
sos-collector10620755editdlrm
sosreport10540755editdlrm
splain194140755editdlrm
split521920755editdlrm
splitfont144880755editdlrm
sqfscat1350640755editdlrm
sqfstar2607920755editdlrm
sqlite316350640755editdlrm
ss1280720755editdlrm
ssh8468880755editdlrm
ssh-add1704160755editdlrm
ssh-agent2933042755editdlrm
ssh-argv014550755editdlrm
ssh-copy-id126760755editdlrm
ssh-import-id9850755editdlrm
ssh-import-id-gh7850755editdlrm
ssh-import-id-lp7850755editdlrm
ssh-keygen4571520755editdlrm
ssh-keyscan1950080755editdlrm
stat804000755editdlrm
static-sh21932720755editdlrm
statnet514160755editdlrm
stdbuf435280755editdlrm
strace19728480755editdlrm
strace-log-merge18210755editdlrm
streamzip79410755editdlrm
strings313440755editdlrm
strip1664720755editdlrm
stty762960755editdlrm
su556804755editdlrm
sudo2324164755editdlrm
sudoedit2324164755editdlrm
sudoreplay897440755editdlrm
sum352400755editdlrm
sync352400755editdlrm
systemctl11198560755editdlrm
systemd18499920755editdlrm
systemd-analyze18091600755editdlrm
systemd-ask-password189280755editdlrm
systemd-cat188160755editdlrm
systemd-cgls230160755editdlrm
systemd-cgtop393120755editdlrm
systemd-cryptenroll517440755editdlrm
systemd-delta270000755editdlrm
systemd-detect-virt188080755editdlrm
systemd-escape229040755editdlrm
systemd-hwdb1215040755editdlrm
systemd-id128270000755editdlrm
systemd-inhibit229280755editdlrm
systemd-machine-id-setup189280755editdlrm
systemd-mount518080755editdlrm
systemd-notify229120755editdlrm
systemd-path188080755editdlrm
systemd-run640720755editdlrm
systemd-socket-activate270000755editdlrm
systemd-stdio-bridge229120755editdlrm
systemd-sysext476080755editdlrm
systemd-sysusers641840755editdlrm
systemd-tmpfiles1009360755editdlrm
systemd-tty-ask-password-agent351920755editdlrm
systemd-umount518080755editdlrm
tabs187440755editdlrm
tac1007760755editdlrm
tail681120755editdlrm
tar5220480755editdlrm
taskset229120755editdlrm
tbl1295120755editdlrm
tclsh144880755editdlrm
tclsh8.6144880755editdlrm
tcpdump13313200755editdlrm
tcpspray144880755editdlrm
tee353360755editdlrm
telnet1101440755editdlrm
telnet.netkit1101440755editdlrm
tempfile143600755editdlrm
test434560755editdlrm
tic884880755editdlrm
time271600755editdlrm
timedatectl474800755editdlrm
timeout398800755editdlrm
tkconch39620755editdlrm
tload186800755editdlrm
tmux9713200755editdlrm
tnftp1831920755editdlrm
toe228400755editdlrm
top1331840755editdlrm
touch926800755editdlrm
tput269680755editdlrm
tr476240755editdlrm
tracepath185840755editdlrm
trial39580755editdlrm
troff7358560755editdlrm
true269360755editdlrm
truncate353360755editdlrm
tset269440755editdlrm
tsort476240755editdlrm
tty312400755editdlrm
twist39580755editdlrm
twistd39600755editdlrm
tzselect153790755editdlrm
ua10030755editdlrm
ubuntu-advantage10030755editdlrm
ubuntu-bug25680755editdlrm
ubuntu-distro-info234400755editdlrm
ubuntu-security-status227830755editdlrm
ucf418830755editdlrm
ucfq193670755editdlrm
ucfr107190755editdlrm
uclampset270080755editdlrm
uconv561440755editdlrm
udevadm11318560755editdlrm
udisksctl597760755editdlrm
ul229200755editdlrm
umount352004755editdlrm
uname353360755editdlrm
unattended-upgrade995470755editdlrm
unattended-upgrades995470755editdlrm
uncompress23460755editdlrm
unexpand353600755editdlrm
unicode_start27620755editdlrm
unicode_stop5300755editdlrm
uniq435280755editdlrm
unlink312400755editdlrm
unlzma845040755editdlrm
unmkinitramfs37740755editdlrm
unpigz1375840755editdlrm
unshare313360755editdlrm
unsquashfs1350640755editdlrm
unxz845040755editdlrm
unzip1745120755editdlrm
unzipsfx803040755editdlrm
unzstd8750960755editdlrm
update-alternatives596400755editdlrm
update-mime-database596240755editdlrm
upower228320755editdlrm
uptime145680755editdlrm
usb-devices44290755editdlrm
usbhid-dump311120755editdlrm
usbreset146400755editdlrm
users353360755editdlrm
utmpdump229120755editdlrm
uuidgen188160755editdlrm
uuidparse229120755editdlrm
vacuumdb94270755editdlrm
vacuumlo94270755editdlrm
vcs-run69120755editdlrm
vdir1382160755editdlrm
VGAuthService1377680755editdlrm
vi37879520755editdlrm
view37879520755editdlrm
vigpg26400755editdlrm
vim37879520755editdlrm
vim.basic37879520755editdlrm
vim.tiny15203200755editdlrm
vimdiff37879520755editdlrm
vimtutor21540755editdlrm
vm-support100660755editdlrm
vmhgfs-fuse478480755editdlrm
vmstat391600755editdlrm
vmtoolsd763520755editdlrm
vmware-alias-import435440755editdlrm
vmware-checkvm147200755editdlrm
vmware-hgfsclient147200755editdlrm
vmware-namespace-cmd228400755editdlrm
vmware-rpctool187440755editdlrm
vmware-toolbox-cmd600000755editdlrm
vmware-vgauth-cmd187440755editdlrm
vmware-vmblock-fuse192320755editdlrm
vmware-xferlogs331040755editdlrm
w227600755editdlrm
wall229120755editdlrm
watch272400755editdlrm
watchgnupg187440755editdlrm
wc434400755editdlrm
wdctl311280755editdlrm
wget4700320755editdlrm
whatis484160755editdlrm
whereis315760755editdlrm
which9460755editdlrm
which.debianutils9460755editdlrm
whiptail308880755editdlrm
who517360755editdlrm
whoami312400755editdlrm
whois1593920755editdlrm
wifi-status21070755editdlrm
write229200755editdlrm
write.ul229200755editdlrm
x86_64272880755editdlrm
x86_64-linux-gnu-addr2line273440755editdlrm
x86_64-linux-gnu-ar557920755editdlrm
x86_64-linux-gnu-as4673520755editdlrm
x86_64-linux-gnu-c++filt228000755editdlrm
x86_64-linux-gnu-cpp9285840755editdlrm
x86_64-linux-gnu-cpp-97851440755editdlrm
x86_64-linux-gnu-cpp-119285840755editdlrm
x86_64-linux-gnu-dwp19040000755editdlrm
x86_64-linux-gnu-elfedit355520755editdlrm
x86_64-linux-gnu-g++9326800755editdlrm
x86_64-linux-gnu-g++-119326800755editdlrm
x86_64-linux-gnu-gcc9285840755editdlrm
x86_64-linux-gnu-gcc-97851440755editdlrm
x86_64-linux-gnu-gcc-119285840755editdlrm
x86_64-linux-gnu-gcc-ar271760755editdlrm
x86_64-linux-gnu-gcc-ar-9271760755editdlrm
x86_64-linux-gnu-gcc-ar-11271760755editdlrm
x86_64-linux-gnu-gcc-nm271760755editdlrm
x86_64-linux-gnu-gcc-nm-9230720755editdlrm
x86_64-linux-gnu-gcc-nm-11271760755editdlrm
x86_64-linux-gnu-gcc-ranlib271760755editdlrm
x86_64-linux-gnu-gcc-ranlib-9271760755editdlrm
x86_64-linux-gnu-gcc-ranlib-11271760755editdlrm
x86_64-linux-gnu-gcov4096080755editdlrm
x86_64-linux-gnu-gcov-93931360755editdlrm
x86_64-linux-gnu-gcov-114096080755editdlrm
x86_64-linux-gnu-gcov-dump2578800755editdlrm
x86_64-linux-gnu-gcov-dump-92414480755editdlrm
x86_64-linux-gnu-gcov-dump-112578800755editdlrm
x86_64-linux-gnu-gcov-tool2825520755editdlrm
x86_64-linux-gnu-gcov-tool-92743200755editdlrm
x86_64-linux-gnu-gcov-tool-112825520755editdlrm
x86_64-linux-gnu-gfortran9285840755editdlrm
x86_64-linux-gnu-gfortran-97892400755editdlrm
x86_64-linux-gnu-gfortran-119285840755editdlrm
x86_64-linux-gnu-gold31899200755editdlrm
x86_64-linux-gnu-gprof1144720755editdlrm
x86_64-linux-gnu-ld17361840755editdlrm
x86_64-linux-gnu-ld.bfd17361840755editdlrm
x86_64-linux-gnu-ld.gold31899200755editdlrm
x86_64-linux-gnu-lto-dump-11248872640755editdlrm
x86_64-linux-gnu-nm446720755editdlrm
x86_64-linux-gnu-objcopy1664400755editdlrm
x86_64-linux-gnu-objdump3738880755editdlrm
x86_64-linux-gnu-pkg-config22350755editdlrm
x86_64-linux-gnu-python3-config31230755editdlrm
x86_64-linux-gnu-python3.10-config31230755editdlrm
x86_64-linux-gnu-ranlib557920755editdlrm
x86_64-linux-gnu-readelf7766400755editdlrm
x86_64-linux-gnu-size311840755editdlrm
x86_64-linux-gnu-strings313440755editdlrm
x86_64-linux-gnu-strip1664720755editdlrm
x86_64-pc-linux-gnu-pkg-config514880755editdlrm
xargs639120755editdlrm
xauth562800755editdlrm
xdg-user-dir2340755editdlrm
xdg-user-dirs-update268560755editdlrm
xml2-config14360755editdlrm
xsubpp51670755editdlrm
xxd187200755editdlrm
xz845040755editdlrm
xzcat845040755editdlrm
xzcmp70230755editdlrm
xzdiff70230755editdlrm
xzegrep60150755editdlrm
xzfgrep60150755editdlrm
xzgrep60150755editdlrm
xzless17990755editdlrm
xzmore21620755editdlrm
yes311120755editdlrm
ypdomainname227600755editdlrm
zcat19840755editdlrm
zcmp16780755editdlrm
zdiff58850755editdlrm
zdump268400755editdlrm
zegrep290755editdlrm
zfgrep290755editdlrm
zforce20810755editdlrm
zgrep81030755editdlrm
zipdetails600650755editdlrm
zipgrep29590755editdlrm
zipinfo1745120755editdlrm
zless22060755editdlrm
zmore18420755editdlrm
znew45770755editdlrm
zstd8750960755editdlrm
zstdcat8750960755editdlrm
zstdgrep38690755editdlrm
zstdless300755editdlrm
zstdmt8750960755editdlrm
[516480755editdlrm
Edit: /usr/lib/python3.10/pdb.py (63225B)
#! /usr/bin/env python3 """ The Python Debugger Pdb ======================= To use the debugger in its simplest form: >>> import pdb >>> pdb.run('') The debugger's prompt is '(Pdb) '. This will stop in the first function call in . Alternatively, if a statement terminated with an unhandled exception, you can use pdb's post-mortem facility to inspect the contents of the traceback: >>> >>> import pdb >>> pdb.pm() The commands recognized by the debugger are listed in the next section. Most can be abbreviated as indicated; e.g., h(elp) means that 'help' can be typed as 'h' or 'help' (but not as 'he' or 'hel', nor as 'H' or 'Help' or 'HELP'). Optional arguments are enclosed in square brackets. Alternatives in the command syntax are separated by a vertical bar (|). A blank line repeats the previous command literally, except for 'list', where it lists the next 11 lines. Commands that the debugger doesn't recognize are assumed to be Python statements and are executed in the context of the program being debugged. Python statements can also be prefixed with an exclamation point ('!'). This is a powerful way to inspect the program being debugged; it is even possible to change variables or call functions. When an exception occurs in such a statement, the exception name is printed but the debugger's state is not changed. The debugger supports aliases, which can save typing. And aliases can have parameters (see the alias help entry) which allows one a certain level of adaptability to the context under examination. Multiple commands may be entered on a single line, separated by the pair ';;'. No intelligence is applied to separating the commands; the input is split at the first ';;', even if it is in the middle of a quoted string. If a file ".pdbrc" exists in your home directory or in the current directory, it is read in and executed as if it had been typed at the debugger prompt. This is particularly useful for aliases. If both files exist, the one in the home directory is read first and aliases defined there can be overridden by the local file. This behavior can be disabled by passing the "readrc=False" argument to the Pdb constructor. Aside from aliases, the debugger is not directly programmable; but it is implemented as a class from which you can derive your own debugger class, which you can make as fancy as you like. Debugger commands ================= """ # NOTE: the actual command documentation is collected from docstrings of the # commands and is appended to __doc__ after the class has been defined. import os import io import re import sys import cmd import bdb import dis import code import glob import pprint import signal import inspect import tokenize import traceback import linecache class Restart(Exception): """Causes a debugger to be restarted for the debugged python program.""" pass __all__ = ["run", "pm", "Pdb", "runeval", "runctx", "runcall", "set_trace", "post_mortem", "help"] def find_function(funcname, filename): cre = re.compile(r'def\s+%s\s*[(]' % re.escape(funcname)) try: fp = tokenize.open(filename) except OSError: return None # consumer of this info expects the first line to be 1 with fp: for lineno, line in enumerate(fp, start=1): if cre.match(line): return funcname, filename, lineno return None def lasti2lineno(code, lasti): linestarts = list(dis.findlinestarts(code)) linestarts.reverse() for i, lineno in linestarts: if lasti >= i: return lineno return 0 class _rstr(str): """String that doesn't quote its repr.""" def __repr__(self): return self # Interaction prompt line will separate file and call info from code # text using value of line_prefix string. A newline and arrow may # be to your liking. You can set it once pdb is imported using the # command "pdb.line_prefix = '\n% '". # line_prefix = ': ' # Use this to get the old situation back line_prefix = '\n-> ' # Probably a better default class Pdb(bdb.Bdb, cmd.Cmd): _previous_sigint_handler = None def __init__(self, completekey='tab', stdin=None, stdout=None, skip=None, nosigint=False, readrc=True): bdb.Bdb.__init__(self, skip=skip) cmd.Cmd.__init__(self, completekey, stdin, stdout) sys.audit("pdb.Pdb") if stdout: self.use_rawinput = 0 self.prompt = '(Pdb) ' self.aliases = {} self.displaying = {} self.mainpyfile = '' self._wait_for_mainpyfile = False self.tb_lineno = {} # Try to load readline if it exists try: import readline # remove some common file name delimiters readline.set_completer_delims(' \t\n`@#$%^&*()=+[{]}\\|;:\'",<>?') except ImportError: pass self.allow_kbdint = False self.nosigint = nosigint # Read ~/.pdbrc and ./.pdbrc self.rcLines = [] if readrc: try: with open(os.path.expanduser('~/.pdbrc')) as rcFile: self.rcLines.extend(rcFile) except OSError: pass try: with open(".pdbrc") as rcFile: self.rcLines.extend(rcFile) except OSError: pass self.commands = {} # associates a command list to breakpoint numbers self.commands_doprompt = {} # for each bp num, tells if the prompt # must be disp. after execing the cmd list self.commands_silent = {} # for each bp num, tells if the stack trace # must be disp. after execing the cmd list self.commands_defining = False # True while in the process of defining # a command list self.commands_bnum = None # The breakpoint number for which we are # defining a list def sigint_handler(self, signum, frame): if self.allow_kbdint: raise KeyboardInterrupt self.message("\nProgram interrupted. (Use 'cont' to resume).") self.set_step() self.set_trace(frame) def reset(self): bdb.Bdb.reset(self) self.forget() def forget(self): self.lineno = None self.stack = [] self.curindex = 0 self.curframe = None self.tb_lineno.clear() def setup(self, f, tb): self.forget() self.stack, self.curindex = self.get_stack(f, tb) while tb: # when setting up post-mortem debugging with a traceback, save all # the original line numbers to be displayed along the current line # numbers (which can be different, e.g. due to finally clauses) lineno = lasti2lineno(tb.tb_frame.f_code, tb.tb_lasti) self.tb_lineno[tb.tb_frame] = lineno tb = tb.tb_next self.curframe = self.stack[self.curindex][0] # The f_locals dictionary is updated from the actual frame # locals whenever the .f_locals accessor is called, so we # cache it here to ensure that modifications are not overwritten. self.curframe_locals = self.curframe.f_locals return self.execRcLines() # Can be executed earlier than 'setup' if desired def execRcLines(self): if not self.rcLines: return # local copy because of recursion rcLines = self.rcLines rcLines.reverse() # execute every line only once self.rcLines = [] while rcLines: line = rcLines.pop().strip() if line and line[0] != '#': if self.onecmd(line): # if onecmd returns True, the command wants to exit # from the interaction, save leftover rc lines # to execute before next interaction self.rcLines += reversed(rcLines) return True # Override Bdb methods def user_call(self, frame, argument_list): """This method is called when there is the remote possibility that we ever need to stop in this function.""" if self._wait_for_mainpyfile: return if self.stop_here(frame): self.message('--Call--') self.interaction(frame, None) def user_line(self, frame): """This function is called when we stop or break at this line.""" if self._wait_for_mainpyfile: if (self.mainpyfile != self.canonic(frame.f_code.co_filename) or frame.f_lineno <= 0): return self._wait_for_mainpyfile = False if self.bp_commands(frame): self.interaction(frame, None) def bp_commands(self, frame): """Call every command that was set for the current active breakpoint (if there is one). Returns True if the normal interaction function must be called, False otherwise.""" # self.currentbp is set in bdb in Bdb.break_here if a breakpoint was hit if getattr(self, "currentbp", False) and \ self.currentbp in self.commands: currentbp = self.currentbp self.currentbp = 0 lastcmd_back = self.lastcmd self.setup(frame, None) for line in self.commands[currentbp]: self.onecmd(line) self.lastcmd = lastcmd_back if not self.commands_silent[currentbp]: self.print_stack_entry(self.stack[self.curindex]) if self.commands_doprompt[currentbp]: self._cmdloop() self.forget() return return 1 def user_return(self, frame, return_value): """This function is called when a return trap is set here.""" if self._wait_for_mainpyfile: return frame.f_locals['__return__'] = return_value self.message('--Return--') self.interaction(frame, None) def user_exception(self, frame, exc_info): """This function is called if an exception occurs, but only if we are to stop at or just below this level.""" if self._wait_for_mainpyfile: return exc_type, exc_value, exc_traceback = exc_info frame.f_locals['__exception__'] = exc_type, exc_value # An 'Internal StopIteration' exception is an exception debug event # issued by the interpreter when handling a subgenerator run with # 'yield from' or a generator controlled by a for loop. No exception has # actually occurred in this case. The debugger uses this debug event to # stop when the debuggee is returning from such generators. prefix = 'Internal ' if (not exc_traceback and exc_type is StopIteration) else '' self.message('%s%s' % (prefix, traceback.format_exception_only(exc_type, exc_value)[-1].strip())) self.interaction(frame, exc_traceback) # General interaction function def _cmdloop(self): while True: try: # keyboard interrupts allow for an easy way to cancel # the current command, so allow them during interactive input self.allow_kbdint = True self.cmdloop() self.allow_kbdint = False break except KeyboardInterrupt: self.message('--KeyboardInterrupt--') # Called before loop, handles display expressions def preloop(self): displaying = self.displaying.get(self.curframe) if displaying: for expr, oldvalue in displaying.items(): newvalue = self._getval_except(expr) # check for identity first; this prevents custom __eq__ to # be called at every loop, and also prevents instances whose # fields are changed to be displayed if newvalue is not oldvalue and newvalue != oldvalue: displaying[expr] = newvalue self.message('display %s: %r [old: %r]' % (expr, newvalue, oldvalue)) def interaction(self, frame, traceback): # Restore the previous signal handler at the Pdb prompt. if Pdb._previous_sigint_handler: try: signal.signal(signal.SIGINT, Pdb._previous_sigint_handler) except ValueError: # ValueError: signal only works in main thread pass else: Pdb._previous_sigint_handler = None if self.setup(frame, traceback): # no interaction desired at this time (happens if .pdbrc contains # a command like "continue") self.forget() return self.print_stack_entry(self.stack[self.curindex]) self._cmdloop() self.forget() def displayhook(self, obj): """Custom displayhook for the exec in default(), which prevents assignment of the _ variable in the builtins. """ # reproduce the behavior of the standard displayhook, not printing None if obj is not None: self.message(repr(obj)) def default(self, line): if line[:1] == '!': line = line[1:] locals = self.curframe_locals globals = self.curframe.f_globals try: code = compile(line + '\n', '', 'single') save_stdout = sys.stdout save_stdin = sys.stdin save_displayhook = sys.displayhook try: sys.stdin = self.stdin sys.stdout = self.stdout sys.displayhook = self.displayhook exec(code, globals, locals) finally: sys.stdout = save_stdout sys.stdin = save_stdin sys.displayhook = save_displayhook except: self._error_exc() def precmd(self, line): """Handle alias expansion and ';;' separator.""" if not line.strip(): return line args = line.split() while args[0] in self.aliases: line = self.aliases[args[0]] ii = 1 for tmpArg in args[1:]: line = line.replace("%" + str(ii), tmpArg) ii += 1 line = line.replace("%*", ' '.join(args[1:])) args = line.split() # split into ';;' separated commands # unless it's an alias command if args[0] != 'alias': marker = line.find(';;') if marker >= 0: # queue up everything after marker next = line[marker+2:].lstrip() self.cmdqueue.append(next) line = line[:marker].rstrip() return line def onecmd(self, line): """Interpret the argument as though it had been typed in response to the prompt. Checks whether this line is typed at the normal prompt or in a breakpoint command list definition. """ if not self.commands_defining: return cmd.Cmd.onecmd(self, line) else: return self.handle_command_def(line) def handle_command_def(self, line): """Handles one command line during command list definition.""" cmd, arg, line = self.parseline(line) if not cmd: return if cmd == 'silent': self.commands_silent[self.commands_bnum] = True return # continue to handle other cmd def in the cmd list elif cmd == 'end': self.cmdqueue = [] return 1 # end of cmd list cmdlist = self.commands[self.commands_bnum] if arg: cmdlist.append(cmd+' '+arg) else: cmdlist.append(cmd) # Determine if we must stop try: func = getattr(self, 'do_' + cmd) except AttributeError: func = self.default # one of the resuming commands if func.__name__ in self.commands_resuming: self.commands_doprompt[self.commands_bnum] = False self.cmdqueue = [] return 1 return # interface abstraction functions def message(self, msg): print(msg, file=self.stdout) def error(self, msg): print('***', msg, file=self.stdout) # Generic completion functions. Individual complete_foo methods can be # assigned below to one of these functions. def _complete_location(self, text, line, begidx, endidx): # Complete a file/module/function location for break/tbreak/clear. if line.strip().endswith((':', ',')): # Here comes a line number or a condition which we can't complete. return [] # First, try to find matching functions (i.e. expressions). try: ret = self._complete_expression(text, line, begidx, endidx) except Exception: ret = [] # Then, try to complete file names as well. globs = glob.glob(glob.escape(text) + '*') for fn in globs: if os.path.isdir(fn): ret.append(fn + '/') elif os.path.isfile(fn) and fn.lower().endswith(('.py', '.pyw')): ret.append(fn + ':') return ret def _complete_bpnumber(self, text, line, begidx, endidx): # Complete a breakpoint number. (This would be more helpful if we could # display additional info along with the completions, such as file/line # of the breakpoint.) return [str(i) for i, bp in enumerate(bdb.Breakpoint.bpbynumber) if bp is not None and str(i).startswith(text)] def _complete_expression(self, text, line, begidx, endidx): # Complete an arbitrary expression. if not self.curframe: return [] # Collect globals and locals. It is usually not really sensible to also # complete builtins, and they clutter the namespace quite heavily, so we # leave them out. ns = {**self.curframe.f_globals, **self.curframe_locals} if '.' in text: # Walk an attribute chain up to the last part, similar to what # rlcompleter does. This will bail if any of the parts are not # simple attribute access, which is what we want. dotted = text.split('.') try: obj = ns[dotted[0]] for part in dotted[1:-1]: obj = getattr(obj, part) except (KeyError, AttributeError): return [] prefix = '.'.join(dotted[:-1]) + '.' return [prefix + n for n in dir(obj) if n.startswith(dotted[-1])] else: # Complete a simple name. return [n for n in ns.keys() if n.startswith(text)] # Command definitions, called by cmdloop() # The argument is the remaining string on the command line # Return true to exit from the command loop def do_commands(self, arg): """commands [bpnumber] (com) ... (com) end (Pdb) Specify a list of commands for breakpoint number bpnumber. The commands themselves are entered on the following lines. Type a line containing just 'end' to terminate the commands. The commands are executed when the breakpoint is hit. To remove all commands from a breakpoint, type commands and follow it immediately with end; that is, give no commands. With no bpnumber argument, commands refers to the last breakpoint set. You can use breakpoint commands to start your program up again. Simply use the continue command, or step, or any other command that resumes execution. Specifying any command resuming execution (currently continue, step, next, return, jump, quit and their abbreviations) terminates the command list (as if that command was immediately followed by end). This is because any time you resume execution (even with a simple next or step), you may encounter another breakpoint -- which could have its own command list, leading to ambiguities about which list to execute. If you use the 'silent' command in the command list, the usual message about stopping at a breakpoint is not printed. This may be desirable for breakpoints that are to print a specific message and then continue. If none of the other commands print anything, you will see no sign that the breakpoint was reached. """ if not arg: bnum = len(bdb.Breakpoint.bpbynumber) - 1 else: try: bnum = int(arg) except: self.error("Usage: commands [bnum]\n ...\n end") return self.commands_bnum = bnum # Save old definitions for the case of a keyboard interrupt. if bnum in self.commands: old_command_defs = (self.commands[bnum], self.commands_doprompt[bnum], self.commands_silent[bnum]) else: old_command_defs = None self.commands[bnum] = [] self.commands_doprompt[bnum] = True self.commands_silent[bnum] = False prompt_back = self.prompt self.prompt = '(com) ' self.commands_defining = True try: self.cmdloop() except KeyboardInterrupt: # Restore old definitions. if old_command_defs: self.commands[bnum] = old_command_defs[0] self.commands_doprompt[bnum] = old_command_defs[1] self.commands_silent[bnum] = old_command_defs[2] else: del self.commands[bnum] del self.commands_doprompt[bnum] del self.commands_silent[bnum] self.error('command definition aborted, old commands restored') finally: self.commands_defining = False self.prompt = prompt_back complete_commands = _complete_bpnumber def do_break(self, arg, temporary = 0): """b(reak) [ ([filename:]lineno | function) [, condition] ] Without argument, list all breaks. With a line number argument, set a break at this line in the current file. With a function name, set a break at the first executable line of that function. If a second argument is present, it is a string specifying an expression which must evaluate to true before the breakpoint is honored. The line number may be prefixed with a filename and a colon, to specify a breakpoint in another file (probably one that hasn't been loaded yet). The file is searched for on sys.path; the .py suffix may be omitted. """ if not arg: if self.breaks: # There's at least one self.message("Num Type Disp Enb Where") for bp in bdb.Breakpoint.bpbynumber: if bp: self.message(bp.bpformat()) return # parse arguments; comma has lowest precedence # and cannot occur in filename filename = None lineno = None cond = None comma = arg.find(',') if comma > 0: # parse stuff after comma: "condition" cond = arg[comma+1:].lstrip() arg = arg[:comma].rstrip() # parse stuff before comma: [filename:]lineno | function colon = arg.rfind(':') funcname = None if colon >= 0: filename = arg[:colon].rstrip() f = self.lookupmodule(filename) if not f: self.error('%r not found from sys.path' % filename) return else: filename = f arg = arg[colon+1:].lstrip() try: lineno = int(arg) except ValueError: self.error('Bad lineno: %s' % arg) return else: # no colon; can be lineno or function try: lineno = int(arg) except ValueError: try: func = eval(arg, self.curframe.f_globals, self.curframe_locals) except: func = arg try: if hasattr(func, '__func__'): func = func.__func__ code = func.__code__ #use co_name to identify the bkpt (function names #could be aliased, but co_name is invariant) funcname = code.co_name lineno = code.co_firstlineno filename = code.co_filename except: # last thing to try (ok, filename, ln) = self.lineinfo(arg) if not ok: self.error('The specified object %r is not a function ' 'or was not found along sys.path.' % arg) return funcname = ok # ok contains a function name lineno = int(ln) if not filename: filename = self.defaultFile() # Check for reasonable breakpoint line = self.checkline(filename, lineno) if line: # now set the break point err = self.set_break(filename, line, temporary, cond, funcname) if err: self.error(err) else: bp = self.get_breaks(filename, line)[-1] self.message("Breakpoint %d at %s:%d" % (bp.number, bp.file, bp.line)) # To be overridden in derived debuggers def defaultFile(self): """Produce a reasonable default.""" filename = self.curframe.f_code.co_filename if filename == '' and self.mainpyfile: filename = self.mainpyfile return filename do_b = do_break complete_break = _complete_location complete_b = _complete_location def do_tbreak(self, arg): """tbreak [ ([filename:]lineno | function) [, condition] ] Same arguments as break, but sets a temporary breakpoint: it is automatically deleted when first hit. """ self.do_break(arg, 1) complete_tbreak = _complete_location def lineinfo(self, identifier): failed = (None, None, None) # Input is identifier, may be in single quotes idstring = identifier.split("'") if len(idstring) == 1: # not in single quotes id = idstring[0].strip() elif len(idstring) == 3: # quoted id = idstring[1].strip() else: return failed if id == '': return failed parts = id.split('.') # Protection for derived debuggers if parts[0] == 'self': del parts[0] if len(parts) == 0: return failed # Best first guess at file to look at fname = self.defaultFile() if len(parts) == 1: item = parts[0] else: # More than one part. # First is module, second is method/class f = self.lookupmodule(parts[0]) if f: fname = f item = parts[1] answer = find_function(item, fname) return answer or failed def checkline(self, filename, lineno): """Check whether specified line seems to be executable. Return `lineno` if it is, 0 if not (e.g. a docstring, comment, blank line or EOF). Warning: testing is not comprehensive. """ # this method should be callable before starting debugging, so default # to "no globals" if there is no current frame frame = getattr(self, 'curframe', None) globs = frame.f_globals if frame else None line = linecache.getline(filename, lineno, globs) if not line: self.message('End of file') return 0 line = line.strip() # Don't allow setting breakpoint at a blank line if (not line or (line[0] == '#') or (line[:3] == '"""') or line[:3] == "'''"): self.error('Blank or comment') return 0 return lineno def do_enable(self, arg): """enable bpnumber [bpnumber ...] Enables the breakpoints given as a space separated list of breakpoint numbers. """ args = arg.split() for i in args: try: bp = self.get_bpbynumber(i) except ValueError as err: self.error(err) else: bp.enable() self.message('Enabled %s' % bp) complete_enable = _complete_bpnumber def do_disable(self, arg): """disable bpnumber [bpnumber ...] Disables the breakpoints given as a space separated list of breakpoint numbers. Disabling a breakpoint means it cannot cause the program to stop execution, but unlike clearing a breakpoint, it remains in the list of breakpoints and can be (re-)enabled. """ args = arg.split() for i in args: try: bp = self.get_bpbynumber(i) except ValueError as err: self.error(err) else: bp.disable() self.message('Disabled %s' % bp) complete_disable = _complete_bpnumber def do_condition(self, arg): """condition bpnumber [condition] Set a new condition for the breakpoint, an expression which must evaluate to true before the breakpoint is honored. If condition is absent, any existing condition is removed; i.e., the breakpoint is made unconditional. """ args = arg.split(' ', 1) try: cond = args[1] except IndexError: cond = None try: bp = self.get_bpbynumber(args[0].strip()) except IndexError: self.error('Breakpoint number expected') except ValueError as err: self.error(err) else: bp.cond = cond if not cond: self.message('Breakpoint %d is now unconditional.' % bp.number) else: self.message('New condition set for breakpoint %d.' % bp.number) complete_condition = _complete_bpnumber def do_ignore(self, arg): """ignore bpnumber [count] Set the ignore count for the given breakpoint number. If count is omitted, the ignore count is set to 0. A breakpoint becomes active when the ignore count is zero. When non-zero, the count is decremented each time the breakpoint is reached and the breakpoint is not disabled and any associated condition evaluates to true. """ args = arg.split() try: count = int(args[1].strip()) except: count = 0 try: bp = self.get_bpbynumber(args[0].strip()) except IndexError: self.error('Breakpoint number expected') except ValueError as err: self.error(err) else: bp.ignore = count if count > 0: if count > 1: countstr = '%d crossings' % count else: countstr = '1 crossing' self.message('Will ignore next %s of breakpoint %d.' % (countstr, bp.number)) else: self.message('Will stop next time breakpoint %d is reached.' % bp.number) complete_ignore = _complete_bpnumber def do_clear(self, arg): """cl(ear) filename:lineno\ncl(ear) [bpnumber [bpnumber...]] With a space separated list of breakpoint numbers, clear those breakpoints. Without argument, clear all breaks (but first ask confirmation). With a filename:lineno argument, clear all breaks at that line in that file. """ if not arg: try: reply = input('Clear all breaks? ') except EOFError: reply = 'no' reply = reply.strip().lower() if reply in ('y', 'yes'): bplist = [bp for bp in bdb.Breakpoint.bpbynumber if bp] self.clear_all_breaks() for bp in bplist: self.message('Deleted %s' % bp) return if ':' in arg: # Make sure it works for "clear C:\foo\bar.py:12" i = arg.rfind(':') filename = arg[:i] arg = arg[i+1:] try: lineno = int(arg) except ValueError: err = "Invalid line number (%s)" % arg else: bplist = self.get_breaks(filename, lineno)[:] err = self.clear_break(filename, lineno) if err: self.error(err) else: for bp in bplist: self.message('Deleted %s' % bp) return numberlist = arg.split() for i in numberlist: try: bp = self.get_bpbynumber(i) except ValueError as err: self.error(err) else: self.clear_bpbynumber(i) self.message('Deleted %s' % bp) do_cl = do_clear # 'c' is already an abbreviation for 'continue' complete_clear = _complete_location complete_cl = _complete_location def do_where(self, arg): """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. 'bt' is an alias for this command. """ self.print_stack_trace() do_w = do_where do_bt = do_where def _select_frame(self, number): assert 0 <= number < len(self.stack) self.curindex = number self.curframe = self.stack[self.curindex][0] self.curframe_locals = self.curframe.f_locals self.print_stack_entry(self.stack[self.curindex]) self.lineno = None def do_up(self, arg): """u(p) [count] Move the current frame count (default one) levels up in the stack trace (to an older frame). """ if self.curindex == 0: self.error('Oldest frame') return try: count = int(arg or 1) except ValueError: self.error('Invalid frame count (%s)' % arg) return if count < 0: newframe = 0 else: newframe = max(0, self.curindex - count) self._select_frame(newframe) do_u = do_up def do_down(self, arg): """d(own) [count] Move the current frame count (default one) levels down in the stack trace (to a newer frame). """ if self.curindex + 1 == len(self.stack): self.error('Newest frame') return try: count = int(arg or 1) except ValueError: self.error('Invalid frame count (%s)' % arg) return if count < 0: newframe = len(self.stack) - 1 else: newframe = min(len(self.stack) - 1, self.curindex + count) self._select_frame(newframe) do_d = do_down def do_until(self, arg): """unt(il) [lineno] Without argument, continue execution until the line with a number greater than the current one is reached. With a line number, continue execution until a line with a number greater or equal to that is reached. In both cases, also stop when the current frame returns. """ if arg: try: lineno = int(arg) except ValueError: self.error('Error in argument: %r' % arg) return if lineno <= self.curframe.f_lineno: self.error('"until" line number is smaller than current ' 'line number') return else: lineno = None self.set_until(self.curframe, lineno) return 1 do_unt = do_until def do_step(self, arg): """s(tep) Execute the current line, stop at the first possible occasion (either in a function that is called or in the current function). """ self.set_step() return 1 do_s = do_step def do_next(self, arg): """n(ext) Continue execution until the next line in the current function is reached or it returns. """ self.set_next(self.curframe) return 1 do_n = do_next def do_run(self, arg): """run [args...] Restart the debugged python program. If a string is supplied it is split with "shlex", and the result is used as the new sys.argv. History, breakpoints, actions and debugger options are preserved. "restart" is an alias for "run". """ if arg: import shlex argv0 = sys.argv[0:1] try: sys.argv = shlex.split(arg) except ValueError as e: self.error('Cannot run %s: %s' % (arg, e)) return sys.argv[:0] = argv0 # this is caught in the main debugger loop raise Restart do_restart = do_run def do_return(self, arg): """r(eturn) Continue execution until the current function returns. """ self.set_return(self.curframe) return 1 do_r = do_return def do_continue(self, arg): """c(ont(inue)) Continue execution, only stop when a breakpoint is encountered. """ if not self.nosigint: try: Pdb._previous_sigint_handler = \ signal.signal(signal.SIGINT, self.sigint_handler) except ValueError: # ValueError happens when do_continue() is invoked from # a non-main thread in which case we just continue without # SIGINT set. Would printing a message here (once) make # sense? pass self.set_continue() return 1 do_c = do_cont = do_continue def do_jump(self, arg): """j(ump) lineno Set the next line that will be executed. Only available in the bottom-most frame. This lets you jump back and execute code again, or jump forward to skip code that you don't want to run. It should be noted that not all jumps are allowed -- for instance it is not possible to jump into the middle of a for loop or out of a finally clause. """ if self.curindex + 1 != len(self.stack): self.error('You can only jump within the bottom frame') return try: arg = int(arg) except ValueError: self.error("The 'jump' command requires a line number") else: try: # Do the jump, fix up our copy of the stack, and display the # new position self.curframe.f_lineno = arg self.stack[self.curindex] = self.stack[self.curindex][0], arg self.print_stack_entry(self.stack[self.curindex]) except ValueError as e: self.error('Jump failed: %s' % e) do_j = do_jump def do_debug(self, arg): """debug code Enter a recursive debugger that steps through the code argument (which is an arbitrary expression or statement to be executed in the current environment). """ sys.settrace(None) globals = self.curframe.f_globals locals = self.curframe_locals p = Pdb(self.completekey, self.stdin, self.stdout) p.prompt = "(%s) " % self.prompt.strip() self.message("ENTERING RECURSIVE DEBUGGER") try: sys.call_tracing(p.run, (arg, globals, locals)) except Exception: self._error_exc() self.message("LEAVING RECURSIVE DEBUGGER") sys.settrace(self.trace_dispatch) self.lastcmd = p.lastcmd complete_debug = _complete_expression def do_quit(self, arg): """q(uit)\nexit Quit from the debugger. The program being executed is aborted. """ self._user_requested_quit = True self.set_quit() return 1 do_q = do_quit do_exit = do_quit def do_EOF(self, arg): """EOF Handles the receipt of EOF as a command. """ self.message('') self._user_requested_quit = True self.set_quit() return 1 def do_args(self, arg): """a(rgs) Print the argument list of the current function. """ co = self.curframe.f_code dict = self.curframe_locals n = co.co_argcount + co.co_kwonlyargcount if co.co_flags & inspect.CO_VARARGS: n = n+1 if co.co_flags & inspect.CO_VARKEYWORDS: n = n+1 for i in range(n): name = co.co_varnames[i] if name in dict: self.message('%s = %r' % (name, dict[name])) else: self.message('%s = *** undefined ***' % (name,)) do_a = do_args def do_retval(self, arg): """retval Print the return value for the last return of a function. """ if '__return__' in self.curframe_locals: self.message(repr(self.curframe_locals['__return__'])) else: self.error('Not yet returned!') do_rv = do_retval def _getval(self, arg): try: return eval(arg, self.curframe.f_globals, self.curframe_locals) except: self._error_exc() raise def _getval_except(self, arg, frame=None): try: if frame is None: return eval(arg, self.curframe.f_globals, self.curframe_locals) else: return eval(arg, frame.f_globals, frame.f_locals) except: exc_info = sys.exc_info()[:2] err = traceback.format_exception_only(*exc_info)[-1].strip() return _rstr('** raised %s **' % err) def _error_exc(self): exc_info = sys.exc_info()[:2] self.error(traceback.format_exception_only(*exc_info)[-1].strip()) def _msg_val_func(self, arg, func): try: val = self._getval(arg) except: return # _getval() has displayed the error try: self.message(func(val)) except: self._error_exc() def do_p(self, arg): """p expression Print the value of the expression. """ self._msg_val_func(arg, repr) def do_pp(self, arg): """pp expression Pretty-print the value of the expression. """ self._msg_val_func(arg, pprint.pformat) complete_print = _complete_expression complete_p = _complete_expression complete_pp = _complete_expression def do_list(self, arg): """l(ist) [first [,last] | .] List source code for the current file. Without arguments, list 11 lines around the current line or continue the previous listing. With . as argument, list 11 lines around the current line. With one argument, list 11 lines starting at that line. With two arguments, list the given range; if the second argument is less than the first, it is a count. The current line in the current frame is indicated by "->". If an exception is being debugged, the line where the exception was originally raised or propagated is indicated by ">>", if it differs from the current line. """ self.lastcmd = 'list' last = None if arg and arg != '.': try: if ',' in arg: first, last = arg.split(',') first = int(first.strip()) last = int(last.strip()) if last < first: # assume it's a count last = first + last else: first = int(arg.strip()) first = max(1, first - 5) except ValueError: self.error('Error in argument: %r' % arg) return elif self.lineno is None or arg == '.': first = max(1, self.curframe.f_lineno - 5) else: first = self.lineno + 1 if last is None: last = first + 10 filename = self.curframe.f_code.co_filename # gh-93696: stdlib frozen modules provide a useful __file__ # this workaround can be removed with the closure of gh-89815 if filename.startswith("