Results 1 to 4 of 4
Thread: [SOLVED] [newbie] any DEBUG?
- 05-13-2009, 06:45 PM #1
[SOLVED] [newbie] any DEBUG?
If I remember well :), in C# it was possible to have portions of code that were used only during debugging such as:
IF #DEBUG assert Expression1 : Expression2; ENDIF #DEBUG
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
Windows box (Windows Server 2008 64 bit)...regrettably :)
- 05-13-2009, 08:37 PM #2
To debug or not to debug....
Please take a look at the following link:
It has plenty of examples of different types of ways to debug, including the one you want to use.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
- 05-13-2009, 09:16 PM #3
I figured out that using the "good old" println is pretty much of a popular debugger :)
- 05-14-2009, 04:08 AM #4
- Join Date
- Jul 2007
- Colombo, Sri Lanka
- Blog Entries
- Rep Power
If I remember correctly, I think we discuss about the use of status variable to handle debug, just checking the condition true-false.
- By CJSLMAN in forum New To JavaReplies: 60Last Post: 07-04-2009, 10:28 AM
- By pexlee in forum EclipseReplies: 0Last Post: 09-26-2008, 05:07 PM
- By pexlee in forum NetBeansReplies: 0Last Post: 09-26-2008, 04:45 PM
- By Java Tip in forum Java SoftwareReplies: 0Last Post: 04-10-2008, 04:14 PM
- By tommy in forum Java ServletReplies: 1Last Post: 08-06-2007, 08:53 PM