Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > [ANN]PyCrash-0.4pre2 released

Thread Tools

[ANN]PyCrash-0.4pre2 released

Carmine Noviello
Posts: n/a
a new version of PyCrash is released with new features and improvement.You
can download it at:

What's new in this release:

* Added a new method to PyCrash class, forceDump(), that forces the creation
of the crash dump, if an exception is raised. forceDump() can be very useful
when an exception hasn't reached the top-level, but the user wants the
same to make a dump of the application context.

* Starting from this release, by default, PyCrash doesn't start exception
tracing automatically. User must invoke the enable() method to start
tracing, and can use the disable() method to stop tracing in every moment.

* Now the getEncryptedCrashDump() method of utils.Encrypt.EncryptedPyCrash
class is deprecated, and it will be no longer supported starting from
PyCrash-0.4 release.Use instead the getCrashDump() method.

* Added a new class HTMLPyCrash, in the pycrash.util module, which converts
the crash dump in HTML format rather than XML. The generated HTML dump is
based on CSS, so the developer can define custom CSS to arrange the output.
There is also a new script in the util subdir, named, which
converts PyCrash file in HTML format. You can see an example of the output
generated by the HTML dumper here:

We are very pleased to receive suggests to imporve the HTML output.


__________________________________________________ _____________________
About PyCrash Project:
PyCrash is a Run-Time Exception Dumper which handles uncaught exceptions
during the execution of Python programs and collects information about
the program context. PyCrash can be very useful in report bug information,
because the programmer can easily analyse the program execution context
of the crashed application.

Major information collected by PyCrash in the crash dump is:

- Information about operating system, Python and Python Standard
Library version and general information about the program that is
crashed (e.g., program name and version, time at witch program
started and ended, and so on)

- Information about the uncaught exceptions, like the exception type,
the context (namely method name) in which the exception occurred and
the exception value

- General information about variables state

- Information about the stack of each thread, like the list of stack
frames, the variables value in each stack frame, and so on

- General information about source code, like variable and function
position in source file that can be useful for the programmer to find
quickly bugs in source tree

The format of the crash dump file generated by PyCrash is XML, so the
programmer can easily read this file to understand why the program is

Now, is also available a GUI browser, named PyCrash Viewer, which allows
developers to analyze quickly and easily PyCrash crash dump files in a
graphical manner.

* Starting from next version, we'll try to document all the PyCrash API

More information can be found at:


<P><A HREF="";>PyCrash 0.4pre2</A> - a crash
handler for Python written applications. (25-04-04)</P>

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Win XP wireless network adapter gets released and then connects ba =?Utf-8?B?cGkyMmJ5Nw==?= Wireless Networking 1 08-01-2008 08:33 PM
Battlefield 2 New Patch Released (yet Again...) Silverstrand Front Page News 4 07-20-2005 04:33 PM
*Mozilla Firefox 1.0.4 Released* Roland Firefox 4 05-13-2005 03:05 PM
Firefox 1.0.1 released Z Firefox 2 02-26-2005 04:11 AM
ANN: Anyplace Control 2.6 released Yura Goncharuk Wireless Networking 0 09-28-2004 10:13 AM