[MDEV-28981] Time travel debug for windows Created: 2022-06-16  Updated: 2023-12-15

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: 10.4, 10.5, 10.6

Type: Task Priority: Major
Reporter: Nikita Malyavin Assignee: Vladislav Vaintroub
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Initial support:

diff --git a/mysql-test/lib/My/Debugger.pm b/mysql-test/lib/My/Debugger.pm
--- a/mysql-test/lib/My/Debugger.pm
+++ b/mysql-test/lib/My/Debugger.pm
@@ -84,6 +84,10 @@
         if ::mtr_grab_file('/proc/sys/kernel/perf_event_paranoid') > 1;
     }
   },
+  ttd => {
+    options => '-out {log} {exe} {args} --loose-skip-innodb-use-native-aio --loose-innodb-flush-method=fsync',
+    run => 'C:\TTD\TTD.exe'
+  },
   valgdb => {
     term => 1,
     run => 'gdb',

1. Elevated privileges are required, so maybe we should handle them somehow nicely, with regard to that the tests can be run several times, and we don't want to click 'yes' each time, and maybe we don't wont to open separate admin console (anyway, it's unsafe).

2. Write an article about time travel debugging, common commands, howto's

See also https://wiki.mozilla.org/Time_Travel_Debugging


Generated at Thu Feb 08 10:04:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.