rr-debugger / rr-debugger/rr

restart checkpoint failed in CLion

Open
#2,956 2 comments 0 reactions 0 assignees View on GitHub

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]

Snipaste_2021-08-28_22-23-28

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.