Bug 376120 - [tracepoints] Error should be given to user when trying to start tracing and it fails for whatever reason
Summary: [tracepoints] Error should be given to user when trying to start tracing and ...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-04 16:22 EDT by Marc Khouzam CLA
Modified: 2020-09-04 15:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2012-04-04 16:22:26 EDT
If using fast tracepoints but the program was not compiled with GDB's in-process agent library, starting a trace experiment will be rejected.

-trace-start
407,852 [MI]  56^error,msg="Target returns error code '.In-process agent library not loaded in process.  Fast and static tracepoints unavailable.'."

Such errors should be reported to the user.  Currently, we silently ignore the result, and the user must realize that tracing was not started by looking at the Trace Control view.