| Author |
Debugging Servlets
|
Bradley Rintoul
Greenhorn
Joined: Apr 01, 2003
Posts: 14
|
|
Hello: I'm trying to debug a servlet in NetBeans using its internal Tomcat server. The trouble I'm having stems from the inability to access a Session object... Is this possible? It seems insane that it's so easy to start debugging a servlet but then no Session object is available...? Any help in debugging servlets - especially in the NetBeans IDE - would be greatly appreciated. Thanks, Bradley
|
 |
Mark Howard
Ranch Hand
Joined: Feb 14, 2001
Posts: 285
|
|
Hi Bradley I've only recently started using NetBeans and have come across the same thing before - no session variables displaying in debug mode. Yet the bizarre thing is I'm sure that I did see them at one stage. I haven't bothered much since but I'm sure I must've fiddled some or other preference setting which switched it off You may need to resort to the old System.println routine. (I don't know much about IDE's, but I find NetBeans great to use despite this 'please show me the session variables in debug mode' fiasco) I'll have another look around and let you know if I find anything more helpful than this message Mark.
|
 |
 |
|
|
subject: Debugging Servlets
|
|
|