[Qt-creator] Use Full Path option on Breakpoints list in Debugger not working?

Peter Pearson peter at thefoundry.co.uk
Wed Nov 3 14:57:00 CET 2010


Hi,

In the code I'm working on, two different classes have the same .cpp and 
.h files, which admittedly is bad, but there's nothing I can do about that.

GDB through QtCreator 2.01 (Linux 64) is setting breakpoints in the 
wrong file, and I'm guessing it's because it's having trouble 
differentiating them.

I've ticked the "Use full path information to set breakpoints" checkbox 
in the Gdb tab of the Debugger Options window, but that doesn't make any 
difference.

I've also noticed that the right-click menu for breakpoints in the 
debugger has a "Use full path" option, but this just seems to put "/../" 
in front of the file which doesn't look correct?

Is this the only way to view the full paths in QtCreator for breakpoints 
and if so is it broken, or am I doing something wrong?

Thanks,
Peter Pearson



More information about the Qt-creator-old mailing list