• Someguy posted already same idea, but I didn't see it...My mistake...:-(

    I am sharing exactly the same debug technique he is using.

    I can add that I use PRINT debug for normal variables and I seldom remove them as they don't influence SP output dataset. However, I find them very useful when I use dynamic SQL, because I can get the whole SQL statement while a variable watch in VStudio doesn't display the full value (I can see them in the output pane of the debugger as soon as execution proceeds).

    Simone