I've got a problme where code which two weeks ago wrote to a file
perfectly well, will now only do so if I step through the code in
debug. I've been advised that it may be the result of assert
statements, but this key word does not appear in my code anywhere. It
seems more likely that I've changed something in the IDE, as none of
my file writing code seems to work now. I'm using NetBans 6.1. Can
anyone help?
Regards
JNY0
At least the problem's sorted.
Cheers,
JNY0
>
>I've got a problme where code which two weeks ago wrote to a file
>perfectly well, will now only do so if I step through the code in
>debug.
This advice won't help you now, but it will help you in future avoid
this pickle. Set up a Subversion server, either on your own machine
or rent one for about $6 a month, e.g. http://wush.net This saves you
the learning curve needed to set up the server, and it also provides
offsite backup.
http://mindprod.com/jgloss/subversion.html
http://mindprod.com/jgloss/versioncontrol.html
Then, periodically check in your code to the Subversion server.
If ever your code stops working, you can get a diff of the code now vs
any time in the past. This will help you figure out what you changed
that made it stop working.
All my code is publicly available that way. Anyone curious can examine
the history of changes, or see exactly what I changed recently.
see http://mindprod.com/jgloss/products.html
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Patriotism is fierce as a fever, pitiless as the grave, blind as a stone, and as irrational as a headless hen."
~ Ambrose Bierce (born: 1842-06-24 died: 1914 at age: 71)