Skip to main content

dynamic python tracing

Project description

First Terminal

python3 examples/script_to_debug.py

Second terminal

pymontrace -p "$(pgrep '[Pp]ython')" -e 'line:*/script_to_debug.py:13 {{ pmt.print("a", a, "b", b) }}'
Waiting for process to reach safepoint...
Probes installed. Hit CTRL-C to end...
a 4 b 3
a 3 b 7
a 7 b 1
a 1 b 8
a 8 b 0
^CRemoving probes...
Waiting for process to reach safepoint...
.


WARNING:

- This is under early development and is in no way safe to use against
production workloads.

- The interface will change wildly without warning. There are no versioning
guarantees at this point.


CAVEATS:

- Use on macOS requires root. Use `sudo`.

- Probes will only fire if the function is entered after the probe has
been installed. This means that top level statements cannot be traced and
that the statements inside an outermost forever-loop cannot be traced.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymontrace-0.1.0.dev2.tar.gz (44.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (77.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (77.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (77.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (77.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (77.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (78.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (76.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (77.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (76.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (77.3 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

File details

Details for the file pymontrace-0.1.0.dev2.tar.gz.

File metadata

  • Download URL: pymontrace-0.1.0.dev2.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pymontrace-0.1.0.dev2.tar.gz
Algorithm Hash digest
SHA256 dd9ff0d34429b37e99d9d642dcb81e42005931ac83f9aa0a006b4e53b5b09d93
MD5 1c3e47679569f4143bd0b097c4e3ec48
BLAKE2b-256 d7f3bfced9dfe0eb99227f398d598a6afad68a8b10d01cb1a4372e52efa0b379

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2.tar.gz:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 915bc79831bff142247ae0f76f817e967f32aa8c292f4b11c46f2c25eab78990
MD5 bd668797b6cc0e1bcf0c61feb068ed28
BLAKE2b-256 8a511c5d095c3b0f7398ad3cef1189f2c33485c7e1cb83a05fdd7dd2aa2096b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2086a41864d34e32937d6954c902e0cba6c7fd053cf78f4cb683370ac8b61514
MD5 f0029f0ddd54f0be19f5eb4fdda5f6b3
BLAKE2b-256 8d857fce9910e47076e14aa22c56f3e404891dd6128850e2a513603e777f7883

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 72e4f4de9d9fea041122a7de4d6778b80808a04c73bcfa33f50d7a33745824db
MD5 25b30ec33ff3e2a1d5fce41744297dff
BLAKE2b-256 14f6cb889ef663bc83b0eb6cdb176111b73260d3faea8bd001193e10492141f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0f9fdf6a997a11913fd8d4961e409fed58d3cffbb25071c5575a65a204a951cf
MD5 754c0bc59d0b60fbbcadf7582cf22edf
BLAKE2b-256 2f2e8e174cfa29e9a84e6048e75334a071b2540360dfd031f4a92231f4eb9c8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 752cfadc864b47520e39cce8848f0bc58e91a7cbf0ba403507f9cd4a82635d9c
MD5 55f7579bb6b91f9c778dc50371c28e98
BLAKE2b-256 fc5eb133ef3ddf93b6c38f69e3e94291ce852dcb9d856db6703eb09fbbef6fc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 73d18fef244d67bf3a6433f4079c1a72e11c58fdcf5ccb3bac239cb1a04f3697
MD5 07ba18d9de305832e50dcc1ac332479c
BLAKE2b-256 c04a51d8dfc52473012d93c26dc990ab4afc8a1fe7b15a1d79d04430491e83ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e2127c4074bd9b118b2dcdf0296d7860888ef46fa1e62e6ec8a09efd223c88e3
MD5 5c4b504d2eecbd28fae061237b9a822a
BLAKE2b-256 34210435ba6953d3059c9b98bd1b8c7466eaf7b425cdebe8fda80d5f5eab61dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ff7858afb7620615356e95a847e6df5d65599b0e6570b706fd9e978b98dd5479
MD5 fc82f862866c91623686fc212d62de54
BLAKE2b-256 4ca78410ab434ae36155298a8e5a502106f8819fb39f1c02fc608e34d4073a9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e41343ea3da41c048af5c5dfc326bd78f46dd0706086664b4157bfe0d76b5b0e
MD5 ef5f6acae4e11630ec7d20a17a09c248
BLAKE2b-256 ce2d746a1101dfa26938cba9b6905b519e411e43d7ee474fd9af924622ec1f53

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6014aa9f433f596091ce4803cf1ba253e3edcbd6f57966293576d6799b723d8b
MD5 0e3d498bf0dcb7007151463c3886b8b5
BLAKE2b-256 b98ec7601303fd3bfe1cb02d832e5a47f69095954ceb10c6265def38b90c4be4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymontrace-0.1.0.dev2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-and-publish.yml on cakemanny/pymontrace

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page