Debugging: stopping at Lambda Expressions
When you add a breakpoint to a line that contains a lambda expression, the IDE offers you several options where it should stop. Choose any lambda expression if there are several of them, or stop at the whole line. You can use the Run to cursor function on a lambda expression as well.
You can use Ctrl+F8 to add a breakpoint. Then the lambda expression that the cursor is placed on will be selected in the list. Pressing Ctrl+F8 again will complete creating a breakpoint on the selected lambda.
Macro Expansion Extractor
Sometimes it’s useful to extract a macro expansion in the place where you are using it, which can help you debug the macro. Before using this, compile the code with “-Ymacro-debug-lite”.
Press Ctrl+Alt+Shift+Z with the cursor placed on the macro.
If the cursor is not on a particular macro, all macros in your file will be expanded.
Develop with Pleasure!