httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flowering Weeds <>
Subject [users@httpd] Debugging Apache With PowerShell
Date Sun, 08 Mar 2009 17:02:48 GMT



In the thread Real time thread tracking


Under the words


> As for debugging with PowerShell look at these classes


Brian Mearns said


No one asked or even mentioned debugging with PowerShell.


Mmm in the thread Real time thread tracking


Eric Covener asked


> Can PowerShell give us backtraces of a running httpd?


>From Backtraces - The GNU C Library


"A backtrace is a list of the function calls that are currently
active in a thread. The usual way to inspect a backtrace of a
program is to use an external debugger such as gdb."


Mmm an external debugger


WinDbg - Wikipedia, the free encyclopedia


"WinDbg is a multipurpose debugger for Microsoft Windows, 
distributed on the web by Microsoft."


Now under

> Can PowerShell give us backtraces of a running httpd?


Flowering Weeds replied


Windows PowerShell is a .NET admin's automation tool


Automate what ever one does more than once!


Combine PowerShell with dump process programs,
or .NET tracking class information, then perhaps
data parse, perhaps by Log Parser, and then bingo!


All within .NET PowerShell.


And now examples that Apache users can follow:


PowerDbg - Automated Debugging using WinDbg and PowerShell - Home


For some examples concerning debugging read the below blog
(PowerShell starts near)


Debugging Toolbox : [PowerShell Script] PowerDbg – Using PowerShell to Control WinDbg


Once again thanks to all for helping to
explain how to use PowerShell for debugging
any process - even Apache based processes!



Hotmail® is up to 70% faster. Now good news travels really fast.
View raw message