Is there a way to set a breakpoint for C code in Visual Studio inside a #define
? When I set the breakpoint it isn't reached, and the rest code continues to be executed. For example:
#define YY_USER_ACTION sn_yylloc.first_line = sn_yylloc.last_line =sn_yylineno; \
sn_yylloc.first_column = sn_yycolumn; \
sn_yylloc.last_column = sn_yycolumn + sn_yyleng -1; \
sn_yycolumn += sn_yyleng;
The code is a lexer generated by Flex, but that's really of no importance.