Re: Error while Printing data



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.
.



Relevant Pages

  • Error while Printing data
    ... All Threads are opening same file ... (I am using Monitor ... i execute my program some lines are not printing. ... Why this is happenning ?. ...
    (comp.lang.java.help)
  • Re: SLOW Printing-more yet
    ... He had me "disable" the status monitor and the slow printing problem is ... Windows Printing Team ...
    (microsoft.public.windowsxp.print_fax)
  • Re: SLOW Printing-more yet
    ... Alan, thank you for all your help. ... Windows Printing Team ... He had me "disable" the status monitor and the slow printing problem is ...
    (microsoft.public.windowsxp.print_fax)
  • Re: SLOW Printing-more yet
    ... the hotfix addresses the spooler component. ... Windows Printing Team ... He had me "disable" the status monitor and the slow printing problem is ...
    (microsoft.public.windowsxp.print_fax)
  • RE: Printing number of copies doesnt work on xp pro
    ... Printing number of copies doesn't work on xp pro ... There are in-box drivers for the Brother MFC-3900 that may work for your ... On the Advanced tab of the printer properties, you can install a "New ... Remove any non-default monitors (NOTE: Do not remove the HP Master Monitor ...
    (microsoft.public.win2000.printing)