Opened 11 years ago
Closed 8 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 |
Description
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)
Change History (6)
by , 11 years ago
Attachment: | noninteractive.patch added |
---|
comment:1 by , 11 years ago
patch: | 0 → 1 |
---|
comment:2 by , 11 years ago
Cc: | added |
---|
comment:3 by , 11 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 , 10 years ago
Milestone: | R1 → Unscheduled |
---|
Moving Debugger related tickets out of R1 milestone (Prop #14).
comment:5 by , 8 years ago
Resolution: | → no change required |
---|---|
Status: | new → closed |
Well, this was solved in a cleaner way with the debug_server settings. No need to automate things in this hacky way anymore.
Dirty patch to improve non-interactive use.