Programmatically refreshing the stack window
Posted: Fri Jun 17, 2011 11:21 am
I wonder if there is a way of sending an order from the program being debugged to Codelite so that it refresh its windows.
The scenario is below. There is a macro that breaks correctly into the debugger if bExpression is false however to see the stack in the right
place you need to click in some other window and then click back in the stack window. All fine but not enough feedback.
I would like to send a command (just before the interrupt) to codelite to refresh itself. Better would be to also popup some kind of MessageBox case I'm doing something else.
Any ideas/suggestions welcome. Thank you.
LxZero
#ifdef _DEBUG
#define XK(bExpression)\
if (!(bExpression)) \
{\
printf("\n - XK failed: %s -\n", #bExpression);\
fflush(stdout);\
asm("int $3;");\
printf("\n");\
}
#else
#define XK(e)
#endif
The scenario is below. There is a macro that breaks correctly into the debugger if bExpression is false however to see the stack in the right
place you need to click in some other window and then click back in the stack window. All fine but not enough feedback.
I would like to send a command (just before the interrupt) to codelite to refresh itself. Better would be to also popup some kind of MessageBox case I'm doing something else.
Any ideas/suggestions welcome. Thank you.
LxZero
#ifdef _DEBUG
#define XK(bExpression)\
if (!(bExpression)) \
{\
printf("\n - XK failed: %s -\n", #bExpression);\
fflush(stdout);\
asm("int $3;");\
printf("\n");\
}
#else
#define XK(e)
#endif