forked from qt-creator/qt-creator
Debugger: Change default gdb engine breakpoint "path usage" to "full"
Setting breakpoints by file name and line does not work robustly when using gdb, with neither the full path, nor with just the baseline. Since typically one of the options work, Creator offers a per-breakpoint choice of which approach to use. Traditionally, using the full path broke more often, so the default was "short". Lately (gdb 7.3+) using the full path seems to be more robust, so the default should be changed. Manual overriding to "short" is still possible. Change-Id: I9e857c86a63964bdacf9bebc5444ea752e5974f8 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -456,6 +456,7 @@ private: ////////// View & Data Stuff //////////
|
||||
void handleInfoLine(const GdbResponse &response);
|
||||
void extractDataFromInfoBreak(const QString &output, BreakpointModelId);
|
||||
void updateResponse(BreakpointResponse &response, const GdbMi &bkpt);
|
||||
BreakpointPathUsage defaultEngineBreakpointPathUsage() const;
|
||||
QByteArray breakpointLocation(BreakpointModelId id); // For gdb/MI.
|
||||
QByteArray breakpointLocation2(BreakpointModelId id); // For gdb/CLI fallback.
|
||||
QString breakLocation(const QString &file) const;
|
||||
|
||||
Reference in New Issue
Block a user