Results 1 to 5 of 5
  1. #1
    tahora hn is offline Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    0

    Unhappy how to see output history in netbeans?

    Hi
    In the middle of running a large java code using netbeans, my computer suddenly shut down and I lost the data which I had been printing in the output console, is there a way that I see what was printed in the console just before the shut down.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default

    Nope. Use a logger instead of printing to the system console and you won't have this problem.

    db

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Yeah, as Darryl says you cannot recover that. I wonder why you didn't write theme to a file or such a permanent storage if you have such a collection of data. That's a good practice in any case, to avoid these kind of incidents.

  4. #4
    tahora hn is offline Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    0

    Default

    I have saved the critical data in a file but I had additional information in the console that showed me which line of the code was running.
    thank you both guys :)

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. Replies: 0
    Last Post: 07-20-2010, 12:56 PM
  2. Java, output string, getting correct output? HELP!
    By computerboyo in forum New To Java
    Replies: 2
    Last Post: 02-25-2009, 11:44 PM
  3. History of JVM
    By wilron8 in forum New To Java
    Replies: 5
    Last Post: 12-21-2008, 05:48 PM
  4. The Java Forums History...
    By CJSLMAN in forum Suggestions & Feedback
    Replies: 0
    Last Post: 12-21-2008, 04:28 PM
  5. browser's history
    By vissu007 in forum Networking
    Replies: 5
    Last Post: 07-01-2007, 03:50 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
  •