Message364085
| Author | vstinner |
|---|---|
| Recipients | fabioz, vstinner |
| Date | 2020-03-13.12:14:26 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1584101666.48.0.899582639737.issue35370@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> Note: currently there is a way to achieve that by pausing all the threads then selectively switching to a thread to make it current and setting the tracing function using the C-API (see: https://github.com/fabioz/PyDev.Debugger/blob/master/pydevd_attach_to_process/dll/attach.cpp#L1224), but I believe this is very hacky and not portable to other Python implementations. I'm not sure that I understand your need. Do you need a variant of PyEval_SetTrace() which accepts a tstate argument? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-03-13 12:14:26 | vstinner | set | recipients: + vstinner, fabioz |
| 2020-03-13 12:14:26 | vstinner | set | messageid: <1584101666.48.0.899582639737.issue35370@roundup.psfhosted.org> |
| 2020-03-13 12:14:26 | vstinner | link | issue35370 messages |
| 2020-03-13 12:14:26 | vstinner | create | |