forked from qt-creator/qt-creator
Debugger: Support setting substitute path by regexp
This is useful when there are multiple build machines with different path, and the user would like to match anything up to some known directory to his local project (variable support will also be useful - will try to add that later). Syntax: (/home/.*)/KnownSubdir -> /home/my/project Capture group will be replaced by the value. In this example the substitute path will be (in case a source string found such as /home/SomeUser/SomeProject/KnownSubdir/foo.cpp): /home/SomeUser/SomeProject -> /home/my/project Change-Id: I19d03c9388161d8456a86676086dcb06dc3d7370 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
63da3cb9e0
commit
f0e2708d3e
@@ -211,7 +211,13 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent
|
||||
"<p>This is useful when using a copy of the source tree "
|
||||
"at a location different from the one "
|
||||
"at which the modules where built, for example, while "
|
||||
"doing remote debugging.</body></html>"));
|
||||
"doing remote debugging.</p>"
|
||||
"<p>If source is specified as a regular expression by starting it with an "
|
||||
"open parenthesis, Qt Creator matches the paths in the ELF with the "
|
||||
"regular expression to automatically determine the source path.</p>"
|
||||
"<p>Example: <b>(/home/.*/Project)/KnownSubDir -> D:\\Project</b> will "
|
||||
"substitute ELF built by any user to your local project directory.</p>"
|
||||
"</body></html>"));
|
||||
// Top list/left part.
|
||||
m_treeView->setRootIsDecorated(false);
|
||||
m_treeView->setUniformRowHeights(true);
|
||||
|
||||
Reference in New Issue
Block a user