Pragmatic directives: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: added nested_globals/locals options) |
|||
Line 638: | Line 638: | ||
trace -- allow or disallow debugging (source code line-by-line tracing) <br> |
trace -- allow or disallow debugging (source code line-by-line tracing) <br> |
||
debug -- turn debugging info generation on or off <br> |
debug -- turn debugging info generation on or off <br> |
||
nested_globals -- find_grained scope control. nested_locals is the complementary option <br> |
|||
The last two are related: without debug completely removes all tracing and diagnostics for a specific file (primarily intended for use in well-tested system routines), whereas (under with debug, which is the default) with/without trace can make debugging less tedious by not stopping on every line of irrelevant (user-selected) code, although dumps still contain a full call stack. Some other options, specifically indirect_includes, inline, and digital stamps, exist solely for compatability and are completely ignored. |
The last two are related: without debug completely removes all tracing and diagnostics for a specific file (primarily intended for use in well-tested system routines), whereas (under with debug, which is the default) with/without trace can make debugging less tedious by not stopping on every line of irrelevant (user-selected) code, although dumps still contain a full call stack. Some other options, specifically indirect_includes, inline, and digital stamps, exist solely for compatability and are completely ignored. |