Results 1 to 2 of 2

Thread: Excluding code in debug mode

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    183

    Excluding code in debug mode

    Is there a way to exclude a section of code while I run in debug mode, but have that section of code run in release?

  2. #2
    Junior Member
    Join Date
    Sep 2002
    Posts
    23
    Try
    #If Not Debug then
    .............Excluded in Debug
    #End If
    assuming that Project Properties / Configutation Properties / Condotional compilation constants / Define DEBUG constant i checked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width