Announcement

Collapse
No announcement yet.

Debug Print added to EXE/DLL ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Debug Print added to EXE/DLL ?

    The manual makes note that Debug Print statements are ignored at runtime.

    But, are they added to the EXE/DLL or omitted?


  • #2
    When compiling an EXE or DLL, the compiler ignores them as if they were not in your source code.

    When you run the debugger, the compiler does not ignore them (logically enough!)


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      I cant seem to find any reference to Debug Print in the manual.
      When trying to type debug.print or Debug Print or Print Debug,
      the word "debug" doesnt seem to be reserved for such a purpose
      and is treated like a regular variable name.

      Can anyone tell me how to use debug print in the debugger? Using
      watch variables slows things down terribly.

      Thanks
      -Mike

      ------------------

      Comment


      • #4
        Never mind. Ran an actual "search" in the manual
        and the $DEBUG metastatement turned up.

        -Mike


        ------------------

        Comment

        Working...
        X