On 2023-08-31 16:49, Joshuah Hurst via Cygwin wrote:
Has anyone tested if dtrace for windows https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/dtrace can be used to debug cygwin apps?
It does not appear to be usable as an application debugger, rather providing diagnostics about system call level behavioural anomalies, sampling system state with predefined interpreted AWK/C-like "D" scripts.
It appears to be a system call probe and event tracing and data collection tool, requiring a feature built in to recent Windows enabled, possibly built on Event Tracing for Windows, drivers, utilities, and matching OS symbols installed, offering command line initiated probe, event, executable, and user "D" script selection.
For cygwin executables, strace provides similar capabilities. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple