Re: Error while Printing data
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 13:06:39 GMT
On 28 Oct 2005 05:04:05 -0700, "sairahul" <sairahulreddy@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
>There are 10 threads in my program. All Threads are opening same file
>and they will write something and close the file. (I am using Monitor
>to syncronize threads.) I am using Eclipse for debugging purpose. When
>i execute my program some lines are not printing. The function was
>called intended number of times. But when i debug the program (i have
>given conditional break point also to capture whether it is printing
>blank line or not) it is executing correctly. Why this is happenning ?.
>I am even flushing every time when i writing.
Perhaps you had better write you own logging class that is thread
safe, and that you can make do a flush frequently during debugging.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- References:
- Error while Printing data
- From: sairahul
- Error while Printing data
- Prev by Date: Error while Printing data
- Next by Date: Re: obtaining list of available encodings
- Previous by thread: Error while Printing data
- Next by thread: Re: Error while Printing data
- Index(es):
Relevant Pages
|
|