Skip to content

Initial native stack collection (works only with local fork of Python).#750

Open
emeryberger wants to merge 1 commit intomasterfrom
experimental_native_stack_support
Open

Initial native stack collection (works only with local fork of Python).#750
emeryberger wants to merge 1 commit intomasterfrom
experimental_native_stack_support

Conversation

@emeryberger
Copy link
Member

This PR adds preliminary support (not exposed in the UI) for native stack collection. It depends on this fork that adds support for native stack collection to the CPython interpreter: https://github.com/emeryberger/cpython.

try:
# Experimental native traceback support
signal.enable_native_traceback(Scalene.__signals.cpu_signal)
except AttributeError:

Check notice

Code scanning / CodeQL

Empty except

'except' clause does nothing but pass and there is no explanatory comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant