Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » juno (Eclipse 4.2) CDT (8.1) doesn't stop on pending breakpoints, but gdb does.
juno (Eclipse 4.2) CDT (8.1) doesn't stop on pending breakpoints, but gdb does. [message #967222] Thu, 01 November 2012 15:41
yuval Aviel is currently offline yuval Aviel
Messages: 1
Registered: November 2012
Junior Member
Eclipse 4.2 (Juno), CDT 8.1, gdb 7.8

When I put a breakpoint (bp) in a function that is loaded as dynamic library, I get "unresolved breakpoint"
When I put similar bp on Eclipse 3.7 there were no problems.

Interestingely, however, gdb don't have problem with setting this same bp:
(gdb) b /homes/yuvala/Work/i386/vclDebuggerPrint_i386.cpp:388
No source file named /homes/yuvala/Work/i386/vclDebuggerPrint_i386.cpp.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (/homes/yuvala/Work/i386/vclDebuggerPrint_i386.cpp:388) pending.
(gdb) run
...
[Switching to Thread 0x8b937b70 (LWP 31881)]

Breakpoint 1, Vehicles::RealVCLDebugger::printFftAttentionTrainData (this=0xcded7a8)
    at /homes/yuvala/Work/VD/Wheels/ME.Develop/technology/pedestrians/vehicles/i386/vclDebuggerPrint_i386.cpp:390
warning: Source file is more recent than executable.
390          for (int y = r.bottom(); y < r.top(); ++y)
(gdb)



after running the gdb, pending breakpoint is inserted, and execution stops at desired bp.

My question:
Is there an issue with Juno (Eclipse 4.2), CDT 8.1 and pending breakpoints?
Previous Topic:Indexer indexes what it shouldn't
Next Topic:GDB breakpoints and stack trace not shown in CDT
Goto Forum:
  


Current Time: Thu Oct 23 19:31:43 GMT 2014

Powered by FUDForum. Page generated in 0.01628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software