Commit Graph

53 Commits

Author SHA1 Message Date
Bruce Mitchener
aa446b0540
Fix typos. (#90) 2024-02-18 00:10:21 -06:00
Jeremy
a3e3916daa
Fix issue with trying to call detail::enable_virtual_terminal_processing_if_needed unconditionally on print 2024-02-04 13:56:46 -06:00
Jeremy
ab2d440a00
Update cpptrace exceptions to defer trace generation to the callsite with a default argument 2024-02-04 13:40:12 -06:00
Jeremy
d7aac52f8b
Add configuration to control resolution of inlined calls 2024-02-04 11:03:03 -06:00
Jeremy
e8c857d6c2
Small tweak for a couple aggregate initializations 2024-01-14 22:27:25 -06:00
Jeremy
2a4a8066d3
Rework the object trace interface a bit and clarify their purpose. Also rename minimal_object_trace to safe_object_trace 2023-11-20 23:01:19 -06:00
Jeremy
6c6d915414
Removed raw_trace::from_buffer, not happy with that api 2023-11-19 23:45:51 -06:00
Jeremy
16ec7c5855
Fix oversight, demangle in object_trace resolution 2023-11-19 22:52:43 -06:00
Jeremy
ac13e71877
Implement signal-safe resolution of basic object information 2023-11-19 22:49:58 -06:00
Jeremy
0e462c7b03
Some restructuring of the directory layout 2023-11-18 23:28:48 -06:00
Jeremy
77a2e3a22b
Rework the exception interface 2023-11-18 09:00:57 -06:00
Jeremy
140166a4a7
Updated nested exception what message 2023-11-15 21:50:10 -05:00
Jeremy
ab7e71f1b2
Add exception wrapping utilities, will help issues like #60 2023-11-15 21:24:26 -05:00
Jeremy
520962162c
Improvement for trace printing with missing symbols or filenames 2023-11-15 15:10:22 -05:00
Jeremy
aed456bc63
Handle null lines / columns better 2023-11-15 11:52:24 -05:00
Jeremy
e80afd460b
Add safe tracing interface 2023-11-12 23:31:41 -05:00
Jeremy
4c1c42c61d
Add frame_ptr alias 2023-11-08 21:32:34 -05:00
Jeremy
7ffec7b3c0
Inital work to walk inline tree and show inlined calls 2023-11-08 13:05:39 -05:00
Jeremy
93de7b7060
spacing fix 2023-11-07 00:05:50 -05:00
Jeremy Rifkin
98368fb417
CMake improvements (#57) 2023-11-06 12:12:07 -05:00
Jeremy
ae5d2392fe
More std:: 2023-10-08 22:48:12 -04:00
Jeremy
ae484f0ed2
Improve terminate handler behavior when there's no active exception and also try to print a trace for non-cpptrace terminates 2023-10-08 14:55:21 -04:00
Jeremy
1d514c1532
Windows fix 2023-10-07 17:42:11 -04:00
Jeremy
05c3f7160b
Add specialized terminate handler and add error handling info to the README. Also updated demo. 2023-10-07 17:34:49 -04:00
Jeremy
2e0fa880bc
Small fixes 2023-10-07 15:05:50 -04:00
Jeremy
8bb8a2020c
Add some utilities for exception handling and detecting whether stderr is a terminal 2023-10-07 14:59:04 -04:00
Jeremy Rifkin
b26c5e4ec8
Refactor cpptrace exception objects and simplify interface (#54) 2023-10-06 20:25:30 -04:00
Jeremy
2f507cc24d
Fix msvc build 2023-10-05 12:55:44 -04:00
Jeremy
0c03ac7a01
Refactor stacktrace::print 2023-10-05 12:41:52 -04:00
Jeremy
c3a27d15fb
Update trace objects to just be aggregates 2023-10-05 12:33:43 -04:00
Jeremy Rifkin
ddad92b1f8
Sonar fixes (#52) 2023-10-05 11:17:39 -04:00
Jeremy
d84a3167d9
Add cache mode config 2023-09-29 12:50:47 -04:00
Jeremy Rifkin
183cdf5a1c
Error handling improvements (#46) 2023-09-23 17:46:26 -04:00
Jeremy
dd928b249b
Add max_depth overloads 2023-09-22 12:04:25 -04:00
Jeremy
1b0b7a43ea
Added trace::current() methods 2023-09-21 21:45:01 -04:00
Jeremy
33c8cea2f9
Quick fixes 2023-09-20 17:46:34 -04:00
Jeremy
209ce45157
Library interface improvements 2023-09-20 17:38:57 -04:00
Jeremy
5c3df2571e
Rename stacktrace_frame.col to column, set a proper sentinel value, and update stacktrace.to_string to not have a tailing newline 2023-09-19 15:17:39 -04:00
Jeremy Rifkin
0b32df64e4
Expand cpptrace API (#37) 2023-09-18 20:33:46 -04:00
Jeremy
640aeadf91
Remove full tracing options 2023-09-18 14:37:27 -04:00
Jeremy
278ee3fcee
Work on improving error handling and some general refactoring. Also trying to bring everything into cpptrace::detail. 2023-09-16 20:46:30 -04:00
Jeremy
0e27da8c11
Some symbol backend refactoring, get rid of pimpl nonsense 2023-08-31 01:21:22 -04:00
Jeremy Rifkin
6ed6e623ed
Initial work to add libdwarf as a back-end (#24) 2023-08-30 12:14:17 -04:00
Jeremy
55b5d8a488
File name refactor 2023-07-23 11:18:43 -04:00
Jeremy
bfb94d7e52
Fix trace formatting error 2023-07-23 10:40:04 -04:00
Jeremy
00d6f1c9d1
Update how stacktraces are printed, add color, add a demo program, add a screenshot to the readme, and two small fixes to backends 2023-07-22 21:50:23 -04:00
Jeremy Rifkin
04f8b88efd
Some CI and cmake changes (#9) 2023-07-18 22:21:56 -04:00
Jeremy
a540803cd9
Update stacktrace api and a couple minor tweaks 2023-07-09 22:57:15 -04:00
Jeremy Rifkin
b5af425d09
Add libdl back-end and improve testing system (#4) 2023-07-04 16:11:40 -04:00
Jeremy
323aeebe3e
Cleanup and work on fixing test cases 2023-07-04 08:38:58 -04:00