 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Zhuo Guest
|
Posted: Fri Nov 12, 2004 9:10 pm Post subject: unable to view variable value while /Remote/local EJB debug |
|
|
I had two problems debugging EJBs
1. I set a break point and try to view the values of certain variables in
my EJB. It says:
"expression" xxx=<variable xxx not found in class ....>
Note, I was able to view my client variable values though.
2. I got "Nested exception is:
Weblogic.transaction.internal.TimeOutException: Transaction Timed out after
32 seconds". I have to step it out very quickly to get rid of this.
Thanks in advance!
Zhuo
|
|
| Back to top |
|
 |
Kevin Dean Guest
|
Posted: Sun Nov 14, 2004 4:16 pm Post subject: Re: unable to view variable value while /Remote/local EJB de |
|
|
The client and the server are separate processes. When you set a breakpoint
in the client, you can view client variables only. Start the server in
debug mode and set breakpoints there, making sure that you do so when the
server project is selected. JBuilder will switch back to your server
project as necessary when debugging.
--
Check out our latest white papers at
http://www.datadevelopment.com/papers/index.html
BladeNET Scores With Borland Enterprise Tools
Team Development with JBuilder and Borland Enterprise Server
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
"Zhuo" <zli (AT) micros (DOT) com> wrote
| Quote: | I had two problems debugging EJBs
1. I set a break point and try to view the values of certain variables in
my EJB. It says:
"expression" xxx=
Note, I was able to view my client variable values though.
2. I got "Nested exception is:
Weblogic.transaction.internal.TimeOutException: Transaction Timed out
after
32 seconds". I have to step it out very quickly to get rid of this.
Thanks in advance!
Zhuo
|
|
|
| Back to top |
|
 |
Zhuo Guest
|
Posted: Mon Nov 15, 2004 1:12 pm Post subject: Re: unable to view variable value while /Remote/local EJB de |
|
|
You missunderstood my question! More information, I am able to view the
value of the fields of the EJB classes but not the local variables inside a
function.
"Kevin Dean" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote
| Quote: | The client and the server are separate processes. When you set a
breakpoint
in the client, you can view client variables only. Start the server in
debug mode and set breakpoints there, making sure that you do so when the
server project is selected. JBuilder will switch back to your server
project as necessary when debugging.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|