Message364087
| Author | fabioz |
|---|---|
| Recipients | fabioz, vstinner |
| Date | 2020-03-13.12:20:25 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1584102025.79.0.74817591078.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? Yes |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-03-13 12:20:25 | fabioz | set | recipients: + fabioz, vstinner |
| 2020-03-13 12:20:25 | fabioz | set | messageid: <1584102025.79.0.74817591078.issue35370@roundup.psfhosted.org> |
| 2020-03-13 12:20:25 | fabioz | link | issue35370 messages |
| 2020-03-13 12:20:25 | fabioz | create | |