Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28981

Time travel debug for windows

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4, 10.5, 10.6
    • None
    • 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

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            nikitamalyavin Nikita Malyavin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.