Skip to content

Releases: microsoft/SmartDump

SmartDump v1.13

28 Oct 14:52
6b836f3

Choose a tag to compare

New feature:

Support new argument:
-exit Dettach and exit a SmartDump instance with pid specified with -p .

This is useful in situations that Ctrl-C or Ctrl-Break doesn't work. Another way is to create a config.ini file in the same path of SmartDump.exe. Create a [Runtime] section and set Exit = 1, i.e:

  [Runtime]
  Exit=1

This way works well in more specific cases like Kudu console.

Bug fix in this build:

Fixed a regression bug of identifying exception types for .Net core caused by new added .Net 6 support.

SmartDump v1.12

12 Oct 08:28
4a38bf5

Choose a tag to compare

Support for .Net 6.0 has been added in this release.

SmartDump v1.10

19 Nov 12:10
c313ba2

Choose a tag to compare

Resolved a compatibility issue that dump generation based on process snapshot doesn't work after recent Azure Function upgrade(.net core 3.x version, not the newer v4.0 for .net 6). WinDbg may indicate opened dump file is a corrupt one prior to this build.

Bug fix in this build:

  • Fixed a bug of buffer length while reading exception message.
  • Improved code logic to resolve function names when verbose mode is on.
  • Resolved a new discovered problem to read exception types in 64bit version.

SmartDump v1.09

23 Sep 12:25
5ba46ac

Choose a tag to compare

New feature:

This build is pretty much a big milestone: now -v option can real-time display manage callstack when a .net exception is thrown. Moreover using function name as filter to capture memory dump is supported in this build.

(NOTE: this feature is only available on 32bit version currently and hasn't been added into 64bit version.

SD09

SmartDump v1.08

30 Jul 10:41
4f79098

Choose a tag to compare

New feature:

Added -v option to display verbose output to list frames of managed callstack. Then we can utilize addresses from its output to set breakpoint with -a option. For example, a code entry address of a function can be used to dump its corresponding interested call:

            SmartDump.exe -p 4567 -n 20 -v

The frame output indicates the entry code address of the first managed call that threw the exception is 0x00007ffd`551f0eb0.

image

So we use address: 00007ffd`551f0eb0 as breakpoint to capture dump with -a option:

image

As we can see, 00007ffd`551f0eb0 is just the entry address of function: System.Data.SqlClient.SqlConnection.OnError

image

SmartDump v1.07

16 Jul 10:27
fd65670

Choose a tag to compare

New feature:

  • Add exception information and associate it with thread context on capturing exception dump files, e.g:

image

SmartDump v1.06

05 Jul 11:10
0da82fd

Choose a tag to compare

New feature:

Added -mn option to support capture mini dumps. For example, the following command captures 3 mini dump files for each of the 3 specified exception types: InvalidOperationException, SqlException and ServiceOperationsProviderException .

    SmartDump.exe -p 3328 -n 40 -de 3 -mn -f "InvalidOperationException|SqlException|ServiceOperationsProviderException"

image

SmartDump v1.05

27 Jun 19:31
6d7a4c3

Choose a tag to compare

This is the first official release which is no longer a beta version.

Bug fix in this build:

  • Fixed a major problem that output within Kudu console doesn't get refreshed immediately. Now it's possible to real-time monitor exceptions in Kudu just like running inside an on-promise command line:

SD09

  • Fixed a bug that sometimes an exception message is recognized as exception type by mistake.
  • Further improved accuracy of capturing managed exceptions.
  • Fixed a bug in 32bit version that same exception object gets captured for multiple times.

SmartDump v1.04 beta

23 Jun 12:21
7ec1ba3

Choose a tag to compare

Bug fix in this build:

  • Fixed a bug that exception object's namespace may not be properly retrieved in 32bit version.
  • Added support for pressing Ctrl+Break to detach from a process but this still doesn't work inside Kudu console ( just like Ctrl+C ).
  • Code optimization .

SmartDump v1.03 beta

20 Jun 17:56
5018b4b

Choose a tag to compare

New feature:

  • Added -de option support. In this 'Dump for each' mode, dumps will be captured for each of different exception types. Exception types already captured will be skipped until all exception types specified in filter strings have been captured - start another round.

Example:

In the following sample, SmartDump with -de switch will capture 3 dumps for SqlException, InvalidOperationException and ServiceOperationsProviderException one by one.

image

Bug fix in this build:

  • Fixed a problem that some specific exception types defined in System.dll cannot be properly recognized in 64bit version.