Results 1 to 2 of 2
  1. #1
    Tien is offline Member
    Join Date
    Oct 2011
    Posts
    5
    Rep Power
    0

    Default Checking results after running program, without printing

    I have a program that takes 20 min to run completely. It's frustrating if you find out, after 20 min of waiting, that you forgot to print a variable you wanted to check. So, the big question is: is there any way to check the content of a variable when you forgot to print it as an output?

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,001
    Rep Power
    10

    Default Re: Checking results after running program, without printing

    Use a debugger.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Printing results from another class
    By TheCase in forum New To Java
    Replies: 1
    Last Post: 10-30-2011, 06:22 PM
  2. Not getting why the program is not running
    By jnjh in forum New To Java
    Replies: 5
    Last Post: 04-07-2011, 11:25 AM
  3. Help with running the program :)
    By dj_ee3 in forum New To Java
    Replies: 2
    Last Post: 02-28-2011, 12:19 AM
  4. Part of program not printing ?
    By graz in forum New To Java
    Replies: 2
    Last Post: 04-09-2009, 04:37 AM
  5. A Fibonacci printing program
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-28-2008, 08:26 PM

Posting Permissions

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