public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Debugging Cygwin apps with dtrace for windows?
@ 2023-08-31 22:49 Joshuah Hurst
  2023-09-01  0:21 ` Brian Inglis
  0 siblings, 1 reply; 2+ messages in thread
From: Joshuah Hurst @ 2023-08-31 22:49 UTC (permalink / raw)
  To: cygwin

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?
-- 
Josh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Debugging Cygwin apps with dtrace for windows?
  2023-08-31 22:49 Debugging Cygwin apps with dtrace for windows? Joshuah Hurst
@ 2023-09-01  0:21 ` Brian Inglis
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Inglis @ 2023-09-01  0:21 UTC (permalink / raw)
  To: cygwin; +Cc: Joshuah Hurst

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-01  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-31 22:49 Debugging Cygwin apps with dtrace for windows? Joshuah Hurst
2023-09-01  0:21 ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).