aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/crashdump_helper.erl
AgeCommit message (Collapse)Author
2018-12-20[cdv] Check only own persistent terms in crashdump_viewer testSiri Hansen
2018-11-27Merge branch 'siri/cdv/div-bugfixes/OTP-15391' into maintSiri Hansen
* siri/cdv/div-bugfixes/OTP-15391: [cdv] Handle multiple "Yc" lines refering to the same refc binary [cdv] Speed up reading of dump with many processes
2018-11-06Add tests of persistent terms for crashdump_viewerBjörn Gustavsson
2018-10-29[cdv] Handle multiple "Yc" lines refering to the same refc binarySiri Hansen
Usually, sub binaries are implemented as special sub binary terms ("Ys" lines). But if a sub binary is sent to another process, sub binaries will be eliminated and incorporated into the ProcBin ("Yc" line), and when that happens there can be several "Yc" lines that refer to the same underlying binary object. Make sure that that the crash dump viewer can handle multiple "Yc" lines referring to the same binary object.
2018-10-22Eliminate crash in crashdump_viewer reading some literal mapsBjörn Gustavsson
Literal maps with complex keys such as: #{"one"=>1,"two"=>2,"three"=>3,"four"=>4}. would produce a crash dump that `crashdump_viewer` was unable to read. https://bugs.erlang.org/browse/ERL-722
2018-06-18Update copyright yearHenrik Nord
2018-01-10[observer] Improve performance for many links or monitorsSiri Hansen
When a process has many links and/or monitors, it could earlier take very long time to display the process information window. This is now improved by only showing a few links and monitors, and then an link named "more..." to expand the rest. Reading of the "Link list" from a crashdump is also improved.
2017-11-21Correct parsing of sub binariesBjörn Gustavsson
Correct several problems parsing sub binaries. A sub binary would often be replaced with '#CDVNonexistingBinary'. When parsing a sub binary, we must scan ahead to find the definition of the refc or heap binary being referenced.
2017-10-18Verify that binaries of different sizes are dumped correctlyBjörn Gustavsson
2017-10-18Implement dumping of maps in crash dumpsBjörn Gustavsson
Maps would be dumped as the atom 'undefined', which is not very informative.
2017-05-04Update copyright yearRaimo Niskanen
2017-04-20crashdump_helper: Change compatibility to R18Björn Gustavsson
Compatibility two releases back are tested, which implies R18.
2017-03-02observer: Fix crashdump viewer testcaseBjörn-Egil Dahlberg
2016-03-15update copyright-yearHenrik Nord
2016-02-17Eliminate use of test_server.hrl and test_server_line.hrlBjörn Gustavsson
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl.
2015-06-18Change license text to APLv2Bruce Yinhe
2014-05-27[cdv] Allow registered name as owner of timer in crashdumpSiri Hansen
crashdump_viewer would crash if the owner of a timer was specified as the process' regisered name. This has been corrected.
2014-01-27observer: improve wx version of crashdump_viewerSiri Hansen
* bugfixes * add first test * remove unused code
2011-11-24observer tests: Test compatibility with R13, not R12Björn Gustavsson
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-04-04crashdump_helper: Compile for r12 instead of r11Björn Gustavsson
The r11 option is no longer supported by the compiler (silently ignored).
2010-03-23OTP-8533 Update observer test suite for R14Björn Gustavsson