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

André Pönitz andre.poenitz at nokia.com
Thu Nov 4 10:43:11 CET 2010


On Thursday 04 November 2010 10:24:10 ext Peter Pearson wrote:
> On 03/11/10 20:53, Andre Poenitz wrote:
> > On Wed, Nov 03, 2010 at 01:57:00PM +0000, Peter Pearson wrote:
> >> 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.
> >
> > Could you double-check the issue is still present in the 2.1.0 beta?
> > There were occasions in 2.0.x, when the flag was not taken into
> > consideration.
> 
> The options - "Use full path information to set breakpoints" in the 
> Options dialog and "Show full path" right click menu on the breakpoint 
> list - don't seem to exist in 2.1 beta 1...
> 
> Have they been removed or moved, or am I missing something?

It's in the "Edit Breakpoint..." dialog.

> The issue's still there regardless - although it's changed somewhat - 
> it's actually disabling the breakpoint now on run, so I can't set any 
> breakpoints on either of those two files...
> 
> Shall I raise a bug in JIRA?

Yes, preferable with a minimal but complete example project so that
I can re-create your setup exactly.

Andre'



More information about the Qt-creator-old mailing list