Reputation: 7890
In my application backgroundWorker
starts when I start the application. I can't see anything before backgroundworker_dowork
in call stack other than [external code].
Why backgroundworker is starting itself and how to avoid that?
Upvotes: 0
Views: 102
Reputation: 53593
BackgroundWorkers are started by calling the worker's RunWorkerAsync method. Find where this method is being called, breakpoint it and see what's what.
Upvotes: 4