Share

LimpidLog

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Problems with a standalone application

You are viewing a single message from this topic. View all messages.

  1. 2009-02-13 17:45:59 UTC
    erm, it is not possible to attach class files via a web form!

    I have the same problem:

    <SNIP>
    daniel@kinkyboots:~/tmp/java$ ls
    limpidlog410.jar src TestApp.class TestApp.java
    daniel@kinkyboots:~/tmp/java$ cat TestApp.java

    class TestApp {

    private static Integer i;

    public static void main(String[] args) {
    i = 0;
    while( true ) {
    burp();
    i++;
    }
    }

    private static void burp() {
    System.out.println(Integer.toString(i));
    pause();
    }

    public static void pause (){
    long t0,t1;
    t0=System.currentTimeMillis();
    do{
    t1=System.currentTimeMillis();
    }
    while (t1-t0<1000);
    }
    }



    daniel@kinkyboots:~/tmp/java$ java -javaagent:limpidlog410.jar TestApp
    0
    1
    2

    daniel@kinkyboots:~/tmp/java$ java --version
    java version "1.5.0"
    gij (GNU libgcj) version 4.3.1 20080309 (prerelease)

    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    </SNIP>


    when I try to run the GUI component in another terminal, I just get a window that just says 'connect'. Ihave tried various combinations of port, file, arguments, but I never see any log files. Also I tried creating a limpidlog.applicants file with just one line 'TestClass'.


    If I could get this to work it would be VERY useful.


< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.