Debug / NoDebug - Switch in source-code


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Debug / NoDebug - Switch in source-code

  1. #1
    Join Date
    Nov 2004
    Posts
    1

    Debug / NoDebug - Switch in source-code

    Hi, I'm coming from C++ and learning Java.
    I'm writing a quite big program and I want to know if there is a solution like the c++ precompiler...

    I want to enable/disable debug-output without changing thousands of "/*" and "*/" ...

    Can anybody please help?

    Thanks..

    Bernd

  2. #2
    Join Date
    Aug 2004
    Location
    On the net
    Posts
    38
    Hi,

    For enabling/disabling debug outputs there is a different mechanism. We need to use others tools like log4j for debugging purpose. I guess therez no other way .

    Good Luck
    Narayana :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center