User forums > General (but related to Code::Blocks)
Cannot evaluate function -- may be inlined
zabzonk:
@smallB
If you haven't worked it out by now, CB is not a debugger. As a convenience, it provides an interface to the GDB debugger (and possibly to others). If you have questions about GDB features and "intentions", post them on the GDB site. But if you are expecting the CB/GDB combination (particularly on Windows) to be as powerful, full featured and easy to use as Microsoft's debugger, you are going to be very, very disappointed.
However, even the MS debugger cannot watch (as opposed to step through) functions that actually have been inlined. If the MS environment is allowing you to watch those functions, then they haven't been inlined by the MS compiler.
scarphin:
Sry to interfere here. Is that applicable only to the inline function definitions in a class or any function defined inline globally.
oBFusCATed:
scarphin: There is no difference I guess. In the end the methods of a class are compiled as a functions with hidden this parameter.
smallB:
@Neil, yes I do understand that(cb is not a debugger, yes I know...(in Tomy Saxondale style)) but surely this can change (I mean gdb can become a better debugger than it is now and in feature better debugger than MS). If cb could became better IDE then VS, surely gdb could become better dbg?
As things are for the moment this particular behavior of gdb makes cb unusable for debugging. For me anyway.
smallB:
@obfuscated I would have no idea how to use debugger from command line. yes I do have debugging symbols, yes, optimizations are disabled.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version