Opened 7 years ago

Closed 4 years ago

#10296 closed bug (no change required)

Debugger not useable in non-interactive mode

Reported by: pulkomandy Owned by: anevilyak
Priority: normal Milestone: Unscheduled
Component: Applications/Debugger Version: R1/Development
Keywords: Cc: bonefish
Blocked By: Blocking:
Platform: All


echo "save-report"|Debugger -c ls

Debugger enters an endless loop trying to read from the closed stdin. Attached patch solves this (maybe not the cleanest way) by triggering the "resume debugged thread" code path when this happens.

Attachments (1)

noninteractive.patch (1.4 KB ) - added by pulkomandy 7 years ago.
Dirty patch to improve non-interactive use.

Download all attachments as: .zip

Change History (6)

by pulkomandy, 7 years ago

Attachment: noninteractive.patch added

Dirty patch to improve non-interactive use.

comment:1 by pulkomandy, 7 years ago

patch: 01

comment:2 by anevilyak, 7 years ago

Cc: bonefish added

comment:3 by pulkomandy, 7 years ago

Well, the patch above leads to another problem when using --save-report: it tries to quit Debugger when the team is gone, but this deadlock with another thread waiting for the report to be saved.

comment:4 by luroh, 6 years ago

Milestone: R1Unscheduled

Moving Debugger related tickets out of R1 milestone (Prop #14).

comment:5 by pulkomandy, 4 years ago

Resolution: no change required
Status: newclosed

Well, this was solved in a cleaner way with the debug_server settings. No need to automate things in this hacky way anymore.

Note: See TracTickets for help on using tickets.