Questions tagged [reverse-debugging]
21 questions
                    
                    86
                    
            votes
                
                8 answers
            
        How does reverse debugging work?
GDB has a new version out that supports reverse debug (see http://www.gnu.org/software/gdb/news/reversible.html).  I got to wondering how that works.
To get reverse debug to work it seems to me that you need to store the entire machine state…
         
    
    
        Nathan Fellman
        
- 122,701
- 101
- 260
- 319
                    37
                    
            votes
                
                1 answer
            
        How do I enable reverse debugging on a multi-threaded program?
I'm trying to use the reverse debugging features of gdb 7.3.1 on a multi-threaded project (using libevent), but I get the following error:
(gdb) reverse-step
Target multi-thread does not support this command.
From this question, I thought perhaps…
         
    
    
        rps
        
- 1,263
- 3
- 13
- 18
                    16
                    
            votes
                
                2 answers
            
        Are there any open-source alternatives to ReplayDIRECTOR / Chronon Debugger?
You may be familiar with
ReplayDirector, http://www.replaysolutions.com/products/replaydirector-for-java-ee
Chronon, http://www.chrononsystems.com/products/chronon-time-travelling-debugger
they both advertise themselves as 'Java DVRs' - are there…
         
    
    
        heeboir
        
- 729
- 1
- 9
- 26
                    16
                    
            votes
                
                11 answers
            
        How to do bidirectional or reverse debugging of programs?
Has anyone actually used a reversable debugger? The only product that Google turns up is UndoDB. It is for apparently for Linux only.  
         
    
    
        casualcoder
        
- 4,770
- 6
- 29
- 35
                    12
                    
            votes
                
                2 answers
            
        How to run record instruction-history and function-call-history in GDB?
(EDIT: per the first answer below the current "trick" seems to be using an Atom processor. But I hope some gdb guru can answer if this is a fundamental limitation, or whether there adding support for other processors is on the roadmap?)
Reverse…
         
    
    
        Tom Goodfellow
        
- 882
- 8
- 18
                    11
                    
            votes
                
                3 answers
            
        gdb reverse debugging fails with "Process record does not support instruction 0xf0d at address"
i started to try reverse debugging with gdb 7, followin the tutorial:
http://www.sourceware.org/gdb/wiki/ProcessRecord/Tutorial
and I thought, great!
Then I started to debug a real program which gives an error at the end. So I run it with gdb, and…
         
    
    
        Open the way
        
- 26,225
- 51
- 142
- 196
                    10
                    
            votes
                
                2 answers
            
        reverse debugging with lldb
I've read this tutorial, but I haven't found there anything about reverse debugging. Does lldb have some features like target record in gdb? If yes, where can I read about it?
         
    
    
        Pavel Davydov
        
- 3,379
- 3
- 28
- 41
                    10
                    
            votes
                
                3 answers
            
        Anyone tried reverse-debugging in gdb?
Has anyone tried using the new record/replay and reverse-debugging features in the newly released gdb-7.0?  I am one of the gdb developer/maintainers, and I'm very eager for user feedback!
         
    
    
        Michael Snyder
        
- 5,519
- 4
- 28
- 19
                    8
                    
            votes
                
                1 answer
            
        Extract execution log from gdb record in a VirtualBox VM
I am attempting to use gdb's record feature to generate a list of the instructions executed for the tutorial example
I can use gdb record to step forward and back successfully and save the execution log to a file using "record save".
I think what I…
         
    
    
        bcleary
        
- 1,268
- 10
- 17
                    6
                    
            votes
                
                1 answer
            
        reverse-step multithread error
I get the following message in gdb (version 7.1):
[Thread debugging using libthread_db enabled]
and the command reverse-step
results with the following error message:
(gdb) reverse-step
Target multi-thread does not support this command
I am…
         
    
    
        tmaric
        
- 5,347
- 4
- 42
- 75
                    6
                    
            votes
                
                3 answers
            
        Is it possible to use GDB's reverse debugging with Python? How?
I am trying to use GDB's reverse debugging with a Django application.  I get it running in GDB, but I can't make it run backwards.
I stopped my Django app with Ctrl-Z and then entered reverse-next at the gdb prompt, getting the error message "Target…
         
    
    
        Daniel Gasull
        
- 465
- 6
- 13
                    5
                    
            votes
                
                1 answer
            
        What would be the best way to instrument Java classes in order to create a reverse Java debugger?
I'd like to create a reverse debugger (a debugger where it is possible to go backwards in program execution) for Java and for this I need to store variable data alongside program execution. I will use a global cache for this and a static method…
         
    
    
        Nfff3
        
- 321
- 8
- 24
                    5
                    
            votes
                
                2 answers
            
        Can I use "Reverse Debugging" in core dump file?
after GDB 7.0, the Reverse Debugging is supported.
when a core dump is generated, can I use Reverse Debugging commands?
How can I do that?
         
    
    
        patch
        
- 51
- 4
                    4
                    
            votes
                
                0 answers
            
        How do I follow value propagation through function calls with GDB reverse debugging?
I am trying to figure out a way to follow the propagation of values through function calls and variable copies in a program using GDB reverse debugging. I have used GDB a lot in the past, but am relatively new to reverse-debugging.
I think it is…
         
    
    
        bddicken
        
- 1,412
- 1
- 15
- 16
                    4
                    
            votes
                
                1 answer
            
        GDB error: "Process record: the current architecture doesn't support record function"
I'm trying to do reverse execution in GDB, specifically doing target record after running my program in gdb as per the instructions here, and triggering the following error:
Process record: the current architecture doesn't support record…
         
    
    
        acannon828
        
- 528
- 7
- 22