1. A method of execution by a processor to inject behaviors into a code block, the method comprising: invoking, upon execution of a breakout line in the code block, a behavior action block specified in a behavior injection filter if a current context of the code block matches a trigger condition for the behavior injection filter, wherein the behavior injection filter is one of a plurality of behavior injection filters corresponding to multiple contexts, and the breakout line indicating a location to inject a behavior; and invoking, upon execution of a scope update line in the code block, a scope action block specified in the behavior injection filter, wherein the scope update line indicates a change in scope of the current context.