天道酬勤,学无止境

procdump

Using procdump to listen to all exceptions doesn't work

I want procdump to listen to all exceptions (without having to specify a process name or id). From an example given here, I thought using the following should work: procdump -ma -i ...but although I get the message following message: ProcDump is now set as the Just-in-time (AeDebug) debugger. ...when an exception occurs in some process, nothing gets dumped. The exception is intentionally thrown from the following .NET code: using System; namespace ProcdumpTest { class Program { static void Main(string[] args) { if (ShouldAwaitKeyPress(args)) Console.ReadLine(); Throw(); } static void Throw() {

2022-02-11 21:25:44    分类:问答    .net   debugging   exception   procdump

作为本地服务或本地系统运行时,从 64 位服务启动 procdump 不起作用(launching procdump from a 64-bit service doesn't work when running as Local Service or Local System)

问题 也发布在:http://forum.sysinternals.com/problem-launching-procdump-from-a-64bit-service_topic27425.html 我们可能会在客户站点使用相同的可执行文件运行多个服务。 我们在我们的程序“启用 procdump”中添加了一个设置,并指示客户下载 procdump 并将其放在我们的 bin 目录中。 如果设置打开,我们会在服务启动时启动 procdump(指​​定进程 ID)。 问题是:当作为“本地服务”或“本地系统”运行时,procdump 不适用于我们的 64 位服务器。 当以具有管理员权限的域用户身份运行时,它工作正常。 如果我们从命令提示符手动启动它,它也能正常工作。 看起来当我们手动运行它时,我看到在任务管理器中创建了两个 procdump 进程:procdump *32 和 procdump64 当我们的 64 位服务作为“本地服务”或“本地系统”运行并启动 procdump 时,只显示 procdump*32。 我假设它应该启动 procdump64 的方式失败了。 它也无法创建转储,并且如果我终止服务(通常它会退出)则无法终止。 关于为什么会这样的任何想法,或者我能做些什么? 运行 procdump 的帐户是否需要某些权限?

2021-10-31 15:54:34    分类:技术分享    service   64-bit   procdump

launching procdump from a 64-bit service doesn't work when running as Local Service or Local System

Also posted at: http://forum.sysinternals.com/problem-launching-procdump-from-a-64bit-service_topic27425.html We can potentially run multiple services with the same executable at a customer site. We have added a setting to our program "Enable procdump" and instruct customers to download procdump and put it in our bin directory. If the setting is on, we launch procdump when our service starts up (specifying the process id). The problem is: When running as "Local Service" or "Local System" procdump doesn't work for our 64-bit server. It works fine when running as a domain user with admin

2021-10-24 06:04:58    分类:问答    service   64-bit   procdump