X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6ED593858426 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1693527750; bh=VDTSmoKlkRbmmbSoHEMf76hzfcq9yEL0O5RzgpVpSGQ=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=dCObxjHAPtdeIy7wg3wAwfGvBCLVQcNillhp2KV1y3Z+x3GNuL4lMx209O5Lc0qoZ F/A27XWZUrkLR0O4E9C+Vao0APhjIbckkx33zYk7mAzKGC0VYFo7W6t7IB9Tc2RpSB ZwPjE+priOUoXCd18NM7lj97/uT4BoBRyzq8HAIU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BC14B3858D37 X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=64f12e9a a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=yMhMjlubAAAA:8 a=l_2oetQxAedflDVkkO4A:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=QEXdDO2ut3YA:10 Message-ID: <095fa450-cc6f-9b47-6124-0fc7acd5b1a2@Shaw.ca> Date: Thu, 31 Aug 2023 18:21:45 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: Debugging Cygwin apps with dtrace for windows? To: cygwin AT cygwin DOT com References: Content-Language: en-CA Organization: Inglis In-Reply-To: X-CMAE-Envelope: MS4xfJBLNwWp4K3+6UZ+ImboR1e4AoJCiP++a/uXyZ8Z66LqDSl5ECfIdAbHdT3ZNGPy/MRXRNAiSRCDyJah8O6BLp9ImwxPICLeA21DThA1lcOWOffxSvnL VaRZCJldN0k3Eikb+piVziBSRQFoW1W2H4u4Ci9Uwx0aYrtbq/vPidjhGxGDP/iS9//x0NAv7YakYspaunak//juKpqjvW+IW2c= X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3810MVrs026372 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