aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer
AgeCommit message (Collapse)Author
2017-11-08Merge branch 'maint'Siri Hansen
Conflicts: lib/observer/src/crashdump_viewer.erl
2017-11-08Merge branch 'siri/cdv/misc-improvements/OTP-14755' into maintSiri Hansen
* siri/cdv/misc-improvements/OTP-14755: [cdv] Fix test of size limit reached on crash dump [cdv] Display warning if heap is incomplete [cdv] Check if dump version is newer than cdv can handle [cdv] Add comment about ets tables
2017-11-08[cdv] Fix test of size limit reached on crash dumpSiri Hansen
This test failed every now and then since the selected max size could be greater than the actual size of the dump - so the dump was not truncated. This is now corrected.
2017-11-08[cdv] Display warning if heap is incompleteSiri Hansen
2017-11-06Merge branch 'maint'Siri Hansen
2017-10-26[cdv] Check if dump version is newer than cdv can handleSiri Hansen
If the version of the given crash dump is newer than what crashdump_viewer is prepared to read, then crashdump_viewer will display an info dialog and then terminate. This is to allow major updates of the format of crash dumps.
2017-10-26[cdv] Add comment about ets tablesSiri Hansen
2017-10-24[observer] Don't crash on empty binarySiri Hansen
Commit e1310b8f introduced a bug which caused the observer tool (and crashdump_viewer) to crash when trying to display an empty binary. The same change would also cause leading zeros in a binary to disappear in the preview. The bug is now corrected.
2017-10-20Merge branch 'maint'Björn Gustavsson
* maint: Bump version of crash dumps to 0.4 Verify that binaries of different sizes are dumped correctly Don't dump literal areas that are not referenced at all Dump literals separately to avoid incomplete heap data Implement dumping of maps in crash dumps Buffer writing of crash dumps Conflicts: erts/emulator/beam/erl_alloc.types
2017-10-18Verify that binaries of different sizes are dumped correctlyBjörn Gustavsson
2017-10-18Dump literals separately to avoid incomplete heap dataBjörn Gustavsson
When a literal was used from several processes, the literal would be dumped in only one of the processes. The other processes that referenced the literals would have incomplete heap data.
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-10-17Merge branch 'maint'Ingela Anderton Andin
2017-10-17Merge branch 'siri/observer/multiple-ms-clauses/ERL-489' into maintSiri Hansen
* siri/observer/multiple-ms-clauses/ERL-489: Allow multiple clauses in match spec
2017-10-10Merge branch 'maint'Lars Thorsen
2017-10-10Merge branch 'lars/doc-cleanup/OTP-14475' into maintLars Thorsen
* lars/doc-cleanup/OTP-14475: [edoc] Remove unused module otpsgml_layout.erl Remove unused files from the documentation build
2017-09-29Allow multiple clauses in match specSiri Hansen
2017-09-28Remove unused files from the documentation buildLars Thorsen
2017-09-26Merge branch 'maint'Henrik Nord
2017-09-22Update release notesErlang/OTP
2017-09-22Update version numbersErlang/OTP
2017-09-21Merge branch 'siri/observer/dont-use-old-string-api'Siri Hansen
* siri/observer/dont-use-old-string-api: [cdv] Don't use old string API
2017-09-20[cdv] Don't use old string APISiri Hansen
2017-09-20Merge branch 'maint'Dan Gudmundsson
* maint: erts, stdlib: Fix xmllint warning Update runtime deps to depend on new stdlib functionality
2017-09-20Merge branch 'dgud/update-runtime-deps' into maintDan Gudmundsson
* dgud/update-runtime-deps: Update runtime deps to depend on new stdlib functionality
2017-09-19Merge branch 'maint'Siri Hansen
Conflicts: lib/observer/src/crashdump_viewer.erl lib/sasl/src/sasl.appup.src lib/stdlib/src/stdlib.appup.src
2017-09-19Update runtime deps to depend on new stdlib functionalityDan Gudmundsson
~tw and new string functions are new since OTP-20 (stdlib-3.4)
2017-09-18observer: Improve debugging code in test suiteSiri Hansen
2017-09-18cdv: Add ~tw as formatting option when expanding a termSiri Hansen
2017-09-18observer: Remove compiler warnings in test and set warnings_as_errorsSiri Hansen
2017-09-18cdv: Warn about unsafe crashdumpSiri Hansen
Warn the user if the node executing the crashdump viewer potentially could overwrite the crashdump under inspection.
2017-09-18cdv: Show progress bar while reading big dataSiri Hansen
2017-09-15Merge branch 'siri/string-new-api'Siri Hansen
* siri/string-new-api: (28 commits) hipe (test): Do not use deprecated functions in string(3) dialyzer (test): Do not use deprecated functions in string(3) eunit (test): Do not use deprecated functions in string(3) system (test): Do not use deprecated functions in string(3) system (test): Do not use deprecated functions in string(3) mnesia (test): Do not use deprecated functions in string(3) Deprecate old string functions observer: Do not use deprecated functions in string(3) common_test: Do not use deprecated functions in string(3) eldap: Do not use deprecated functions in string(3) et: Do not use deprecated functions in string(3) os_mon: Do not use deprecated functions in string(3) debugger: Do not use deprecated functions in string(3) runtime_tools: Do not use deprecated functions in string(3) asn1: Do not use deprecated functions in string(3) compiler: Do not use deprecated functions in string(3) sasl: Do not use deprecated functions in string(3) reltool: Do not use deprecated functions in string(3) kernel: Do not use deprecated functions in string(3) hipe: Do not use deprecated functions in string(3) ... Conflicts: lib/eunit/src/eunit_lib.erl lib/observer/src/crashdump_viewer.erl lib/reltool/src/reltool_target.erl
2017-09-15observer: Do not use deprecated functions in string(3)Siri Hansen
2017-09-15cdv: Optimize reading of crashdump with many binariesSiri Hansen
Earlier, crashdump_viewer stored an index of all binaries in a gb_tree on startup. The binary index was also stored in the cdv_dump_index_table along with all other "=xxx" tags from the dump. The difference between the indices was that the ets table contained the addresses of the binaries as strings (the hex address found after the "=binary:" tag) and in the gb_tree this hex address was instead converted to its integer value. The index in the ets table was only used once - when creating the gb_tree. The gb_tree was used for all later looups (to map integer address to file position). This commit replaces the two storages with one new ets table, cdv_binary_index_table, using the integer value of the hex address as key, and the position in the crashdump file as value. In the case of many binaries, this makes the start of crashdump viewer faster (only one place to write), and the data usage smaller (hex address strings are no longer stored). And it avoids the gc of the gb_tree.
2017-09-13cdv: Find end of 'Last calls' sectionSiri Hansen
This is a bug fix: the end of the 'Last calls' section is meant to be an empty line, but in some situations this is not the case. This could cause the complete dump to be read and stored as 'Last calls', causing very unexpected behavior in the crashdump viewer. This commit adds a check for ": ", which indicates that a new heading has occured and thus the 'Last calls' section is completly read.
2017-09-13cdv: Don't mark process as truncated if truncation is after all proc_heapsSiri Hansen
2017-09-13cdv: Set ERL_CRASH_DUMP_SECONDS to 0 in cdv scriptsSiri Hansen
This is to avoid crashdumps generated by crashdump_viewer, possibly overwriting the currently analysed crashdump.
2017-09-07Merge branch 'maint'Siri Hansen
2017-09-05observer: Improve handling of UnicodeSiri Hansen
2017-08-29Merge pull request #1525 from bitnitdit/remove-query-keyword-residuesHans Bolinder
Remove query keyword residues
2017-08-11Add System statistics / limit panelGabriele Santomaggio
Show the statistics, limits and percentage for atoms, processes,ports and ETS. Backward compatibility with old versions, In case the valuse is missing it shows the string Not available.
2017-08-03Remove query keyword residuesbitnitdit
There are still some query residues used as a keyword. Remove them. query was no longer a keyword since the commit 0dc3a29744bed0b7f483ad72e19773dc0982ea50 2012-11-19.
2017-06-21Prepare releaseErlang/OTP
2017-06-19Update copyright yearHans Nilsson
2017-06-16[ttb] Handle unicode atoms in trace data and config filesSiri Hansen
2017-06-16[etop] Fix handling of unicode atomsSiri Hansen
Print function names and registered names with ~tw. Open dump file with encoding utf8.
2017-06-14Update copyright yearHans Nilsson
2017-05-31observer: Allow edit of pid, port and refsDan Gudmundsson
Use lib:extended_parse_term/1 to allow editing terms which contains pids, ports and terms. ERL-178
2017-05-22Merge branch 'dgud/observer/fix-bytes'Dan Gudmundsson
* dgud/observer/fix-bytes: observer: Fix words to bytes