Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: mickagame on March 22, 2009, 11:20:10 am
-
Does someone know how to set code::block to allow debug of macros?
I've tried to compile with -gdwarf-2 -g3 flags but no results ...
-
Does someone know how to set code::block to allow debug of macros?
I've tried to compile with -gdwarf-2 -g3 flags but no results ...
What do you mean by "debug macros"? Could you give a simple example?
-
Have the possibility to do "step by step" in macros defined in .h files.
Actually when the current step in debugger is a macro when you do step by step the debugger doesn't go in the macro.
-
Really?
I don't think CB can do this :D
I haven't heard this function before.
Which IDE can do this? :shock:
-
Macros are not compilable code, they are "generators". In other words, macros do not generate symbols or binary code at all, so there is no way you can step into them. What you can do, at most, is to preprocess a source file and see how macros were expanded... and that's it.
-
Before i was using dev cpp and i m sure i could do that !!!
-
are your macros simple enough that you could use an inline function instead? do that and you can step into it.