just a debug matter

2003-11-12 Thread Edson Alves Pereira
Hello folks, i usually use JDB to debug my servlets, and some times
when i tried to display a result from a static method i get this error:

Thread-9[1] print Thread.currentThread()
com.sun.tools.example.debug.expr.ParseException: Name unknown:
Thread.currentThread
 Thread.currentThread() = null

Does anyone here knows why this happen?

Regards,
Edson


RE: just a debug matter

2003-11-12 Thread Edson Alves Pereira
Hey folks, i known the answer, it just to put the full class´s name,
like:
java.lang.Thread.currentThread( ).toString( )

 --
 De:   Edson Alves Pereira[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  quarta-feira, 12 de novembro de 2003 14:29
 Para: 'Tomcat-User List'
 Assunto:  just a debug matter
 
   Hello folks, i usually use JDB to debug my servlets, and some times
 when i tried to display a result from a static method i get this error:
 
 Thread-9[1] print Thread.currentThread()
 com.sun.tools.example.debug.expr.ParseException: Name unknown:
 Thread.currentThread
  Thread.currentThread() = null
 
   Does anyone here knows why this happen?
 
   Regards,
   Edson