Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

jdb/java inconsistency

Thread view: 
parautenbach@gmail.com - 06 Jul 2005 13:01 GMT
Hallo NG,

Pardon me if this problem has already been addressed on this NG, but I
couldn't find anything of any help, since I'm not certain what to
search for.

I'm making changes to a multi-threaded server daemon not written by
myself. This server interfaces with another server through WSDL-created
stubs. When I run the daemon it throws a number of exceptions, but not
when I run it through the jdb debugger. I use the exact call, just with
java replaced by jdb. All source code is compiled with the debug flag
on for both cases. This makes it really hard for me to debug. I suspect
that it might be a thread problem, although I have no definite grounds
for my suspicion. Has anyone ever come across something of this kind?
Can someone tell me the the fundamental differences between java and
jdb?

Any help will be greatly appreciated.

Regards
Pieter Rautenbach
Raymond DeCampo - 06 Jul 2005 15:54 GMT
> Hallo NG,
>
[quoted text clipped - 12 lines]
> Can someone tell me the the fundamental differences between java and
> jdb?

This is likely not a "difference" between jdb and java, but some kind of
timing issue in your program.  Since the debugger slows things down, the
timing can be different.  One possible cause is threading.

To debug, you'll have to resort to using log statements.

Ray

Signature

XML is the programmer's duct tape.

Pieter Rautenbach - 06 Jul 2005 16:53 GMT
Thanks Ray, I'll look into it that way.

Regards
Pieter


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.