This is a great help (the trick with fdb). In order to make
it somehow more workable i run fdb.exe like this:
fdb.exe http://adres >fdb.log
Then when fdb is running i type:
list package.Class:1
30000
This will put the whole class in the fdb.log
file.
In order to get feedback from the commands u can run this
java application in a sepperate window:
import java.io.*;
public class LogReader
public class LogReader
{
public static void main(String args[])
public static void main(String args[])
{
if (args.length <1)
if (args.length <1)
{
System.out.println("Usage LogReader <filename>");
return;
}
BufferedReader d=null;
try
System.out.println("Usage LogReader <filename>");
return;
}
BufferedReader d=null;
try
{
d= new BufferedReader(new InputStreamReader(new FileInputStream(args[0])) );
while (true)
d= new BufferedReader(new InputStreamReader(new FileInputStream(args[0])) );
while (true)
{
String s=d.readLine();
if (s!=null)
String s=d.readLine();
if (s!=null)
{
System.out.println(s);
} else
System.out.println(s);
} else
{
//give up system and ignore Exceptions
try
//give up system and ignore Exceptions
try
{
Thread.sleep(500);
}catch(Exception
e){}
}
}
}catch(Exception e)
}
}
}catch(Exception e)
{
e.printStackTrace();
}
finally
finally
{
try
try
{
d.close();
} catch(Exception
e)
{
e.printStackTrace();
}
}
}
}
}
}
}
Greetz Erik
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Fifield
Sent: dinsdag 17 mei 2005 9:29
To: [email protected]
Subject: RE: [flexcoders] Development of components with AS
Hi
Gordon,
Thanks
for the reply. I had a look at that but I kept on getting an error "Expected
line number; got 1,". It seems that although you should be able to specify a
start and end location ("1, 500" for example) this does not
work!
Looks
like its back to listing 10 lines at a time. I have increased my buffer size now
though so that I can list the whole thing, then copy paste into an
editor.
Does
anyone know of a better way of doing this?
Regards,
Simon
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

