8 projects tagged "Debug"
Coretrace is a lightweight tool for debugging embedded Linux applications. It works by analyzing core files from crashed applications and outputs a short plain-text backtrace, suitable for putting into logfiles. The basic idea is to let the failing unit do self analysis of core files and report those back home during device maintenance lifetime. Non-interactive small-sized embedded systems are the primary targets, so small footprint is of major concern, since it will be stored on flash. Currently the compiled size is approximately 20 kb.
xn.debug is a debugger for PHP. It is built with several interacting technologies. The core element is a PHP based function, which can be integrated into the application files. This function can be used to inspect PHP elements at nearly every point of code. The function will also be executed again as shutdown function after the application is finished. At this point, HTML output is generated and placed at the end of the server response to the browser. Once the HTML snippet is executed, a virtual debugging window is displayed. Styling is based on a dedicated CSS file and a handful of JavaScript functions.
dump_r addresses the many shortcomings of PHP's print_r() and var_dump() functions, and many other libraries built for decomposing complex objects into a Web browser. It outputs a minimal but informative representation of anything you feed to it in clean HTML with an embedded, easily tweak-able CSS stylesheet. You can set a configurable maximum depth. There is a bit of JavaScript thrown in to handle interactive collapsing and expanding of nodes, and the class provides hook methods which allow you to create additional custom type detection and styling.
kongcurrent provides an easy-to use helper to assist debugging issues which cause exceptions under concurrent access. It was inspired by a problem in which a non-thread-safe Map object held by a third party framework was accidentally shared between threads, causing a ConcurrentModificationException. The helper (a "monitor") creates a proxied version of an object implementing some interface. The proxy can track invocations of the objects' methods and can report on potential concurrent access on the object. This can be used to help find code paths which concurrently access the object through its interface methods. By design, the helper is extensible, and can be adapted to more specific needs.
SystemTap is a tracing and probing tool that allows users to study and monitor the activities of the computer system in fine detail. It provides information similar to the output of tools like netstat, ps, top, and iostat; however, SystemTap is designed to provide more filtering and analysis options for collected information. It can be used as a performance monitoring tool, and is most useful when other tools cannot precisely pinpoint a bottleneck in the system, requiring a deep analysis of kernel activity. Application developers can also use it to monitor, in finer detail, how their application behaves within the Linux system.