restart checkpoint failed in CLion
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
I followed these instructions to setup: https://github.com/rr-debugger/rr/wiki/Using-rr-in-an-IDE#setting-up-clion
I created a hello world application and tested with checkpoint/restart, under gdb cli, it works fine, but with CLion Remote Debugging, I cannot use restart command to jump to the checkpoints.
(gdb) restart 1
0x00005576d90de181 7 printf("Hello, World! %d\n", i);
Program stopped.
main () at /home/ubuntu/CLionProjects/helloworld/main.c:7
7 printf("Hello, World! %d\n", i);
[Inferior 1 (process 49366) detached]

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked rr wiki instructions for CLion and compare the CLion Remote Debugging setup with the working gdb CLI session. Reproduce restart 1 in the hello-world example and investigate why the inferior is detached; done means checkpoint restart works through CLion without detaching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100