We have a new community! Please visit support.timextender.com
Follow

How to use a debugger to review a TimeXtender process

Note: This troubleshooting technique applies to sandbox testing.  Since attaching/ detaching a debugger may stop a running process, you should be careful when using these tools.

This article describes how to use a GUI debugger, x64Dbg or Windbg Preview, to attach to a running TimeXtender process and to review DLLs loaded, threads and call stack.  This may help debug complex issues involving performance, hang or unexpected process termination.

Download x64Dbg and install it.

Get WinDbg Preview - Microsoft Store

Attach to a running TimeXtender process

In x64Dbg tool, use File -> Attach (select TimeXtender in the list of processes)

Note:  If multiple instances are running, recognize an instance of TimeXtender by project name or version

mceclip0.png

Review the list of DLLs loaded

mceclip1.png

In Windbg Preview, use File -> Attach to process

mceclip1.png

This shows the list of DLLs loaded.

mceclip2.png

Generate a dump of a hung process

In Task Manager, right-click on TimeXtender process -> Create dump file

Note: This may generate a huge file.  Use this option for a hung process only, when troubleshooting the root cause.

mceclip4.png

This dump can be further analyzed in a Windows debugger.

For example, load this dump in Windbg and perform exception analysis by this command:

!analyze -v

Reference

Dumps - .NET | Microsoft Docs

Debugging Using WinDbg Preview - Microsoft Docs

 

Was this article helpful?
0 out of 0 found this helpful

0 Comments

Please sign in to leave a comment.