I am thinking of adding code to my application that would collect diagnostic information for further study. Is there any C ++ library created for this purpose? What I'm trying to do seems to be profiling, but it's not the same, because the collected data will be used more for debugging than profiling.
EDIT:Platform: LinuxDiagnostic information for collecting: information obtained as a result of application logic, various statements and statistics.
libcwd:
Libcwd - ++ . , , : demangled.
, pantheios:
Pantheios - API C/++, 100% , , . , ( ), , , C , .
. Log4cxx .
- , , , . GDB . .
- :
, , . , , , . , , ( ). , , , - .
GDB , . GDB . GDB ( openssl ). GDB , . GDB ; , , .
, gdb- ; gdb script . gdb script. , , script . , make make script .
, GDB , , , , .
If you are running your application on Linux, you can use "ulimit" to generate the kernel when the application crashes (or assert (false) or kill -6), later you can debug it using gdb (gdb -c core_file binary_file) and parse the stack .
Salu2.
PD. use gprof for profiling
Source: https://habr.com/ru/post/1709209/More articles:Gridview Search Using DataTable Datasource - searchCoordinate task - javaEquivalent to SuspendLayout and ResumeLayout in WPF - layoutHow can I correctly define my build platform? - cDecimal value Check for zero - mathСтиль конкретных дат в jquery ui datepicker плагин - jquery-uihttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1709211/acegispring-security-grails-plug-in-not-seeing-changes-to-a-user-instance&usg=ALkJrhh8YiDVronUvfNzyJJtUVYvKUwsFwHow to write an overload operator where both arguments are an interface - operatorsWhy does this equality test fail? - c #General methods in non-generic types - genericsAll Articles