As you may be aware, for and unknown reason SamplingProfiler doesn’t work under Windows 7, the technical details as to what doesn’t work under Windows 7 are in this stackoverflow question:
GetThreadContext fails after a successful SuspendThread in Windows 7
If you’ve any idea of the answer, or know someone who might know the answer, any help would be appreciated! The documentation on the subject is very limited both on the Microsoft site and on the Internet…
edit: following a suggestion by Dan Bartlett on stackoverflow, it seems the issue was an alignment constraint introduced (or enforced?) in Win! I’ve compiled a beta version with the change, grab it here: SamplingProfiler-win7-beta.zip (679 kB), if fix is confirmed, I’ll make a full release. A full release is now available.
3 thoughts on “SamplingProfiler & Windows 7”
Just tested it, and I can confirm that this gathers samples correctly under Win7 64-bit.
Good news. I’ll be testing it on Monday at work. I was ready to go with the hassle of installing a VM just to try and work around this problem…
i made a quick test and the SamplingProfiler works fine now on my Win7 32-bit system!
Thanks & best regards
Comments are closed.