My application crashes when launched with the profiler, so I need to connect after it's up and running. It's pretty easy for me to launch it, tweak any running parameters, click 'Go', then start the profiler. I also implemented an auto-shutdown feature so that when the real work was complete the profiler would not get 'junk input' afterwards.
Both of these situations are leading me to ask if there is any way to interact with the profiler from my application. Is there any way for my appto halt until the profiler connects, or to command the profiler to stop collection of data? The halt functionality wouldn't even be necessary -- in my case -- if there were just start/stop commands.
I'd also be interested in hearing any suggestions to more fluidly achieve what I'm attempting.