Our team needs to analyse core dumps from testers (or sometimes from clients) that C++ libraries and application produces. Both on Windows & Linux. Of course we can use gdb to analyse it, but it is all about simplifying and team-work. Do you know any Atlassian, Jetbrains or others web tool or plugin that can integrate with Jenkins or BitBucket for example, that simplifies (browse a stack trace and a list of local variables, etc.) C++ core dump analysis?
Since you already know gdb, why not automate it?
Everyone seems to know Python these days, so take a look at these (or choose your own way to automate it):
- Invoke and control GDB from Python
- Extending GDB using Python - with a link to the API to control gdb from Python
- scripting gdb
- pygdbmi - "A function to parse gdb machine interface string output and return structured data types (Python dicts) that are JSON serializable."
-
1Of course I can write my own plugin/script. But there are different compilers on different OS'es so that I am asking for ready solution. If it doesn't exist, I could give my time and write it :) – jaskmar Aug 1 '18 at 13:26
-
I hope that you don't have to, as I would also like to have such a tool :-) It seems that I spend more time these days writing Python scripts than doing "real coding" :-) – Mawg says reinstate Monica Aug 1 '18 at 14:33
!analyze -v
). Also, the terms of use were not exactly great. They reserved the right to use the uploaded crash dump in seminars. Crash dumps may contain personal information, they definitely contain information about the system of the user and may even contain passwords. That's quite sensitive data. – Thomas Weller Apr 23 '20 at 19:01