The short answer is IDK!
The long answer is that there are likely at least Python and Managed
threads. I'm not sure about Native threads. This is using Webview component
from WinForms, and you probably know better than me what kind of threads
get launched .
On Tue, Mar 28, 2017, 5:45 PM Pavel Minaev wrote:
Oh, here's one thing that I ought to ask first. Does this call the handler
on a background thread; and if so, does the thread get started by native
code?
To make breakpoints work, we need to set up settrace hook separately on
every thread before any Python code runs there. For normal threads, we do
so by detouring some of the bits in _threading. But if native code starts
the thread itself, there's no way for us to get notified and inject the
hooks. I recall that was a problem with PyQt apps that used QThread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/PTVS/issues/2328#issuecomment-289928226,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHgZ5RLedM6ppLA3Gwf9FiVBYmJOjamZks5rqY16gaJpZM4Mo7eA
.