I'm trying to use Vtune and attach to my program. My problem is that after attaching my program is not working as it should. Mainly, the process stop working a little bit after atching and not getting to my part of the code. other people managed to work with Vtune but they use a different flow then mine. do you know why this could happend? or maybe how can i find the last thing that happen before the program stops?
Are you working on Windows* or Linux* environment?
If you work on Linux* OS - when you choose the target as "Attaching to a Process", the tool enables you to focus your performance analysis on a specific process if you are running the event-based sampling data collection only.
On Windows* environment, both User-mode sampling (Hotspots Analysis / Concurrency Analysis / LocksAndWaits Analysis) and event-based samplingcan be supported.