|
Alec Flett wrote: John Anderson wrote:How would you distinguish between chandler crashing when you exit and it quiting normally? They are indistinguishable in the release version, unless you happen to notice that your last change wasn't saved. In the debug version you happen to get an assert. I wish we could get people more comfortable debugging wx because it's a lot more productive than beating your head against the wall when you can't figure why something in wx doesn't work like you expect. I find it very liberating to be able to debug wx, and fixing a bug in wx instead of adding a bunch of python hack to work around it feels good. I think that anytime you fix a bug or write an extension -- assuming that it's going to be adopted by OSAF, or other people besides Joe -- it's prudent to test it using the debug version. I'm not proposing that people do all their development in the release version If we actually had good coverage testing the debug versions of Chandler like they do for linux debug builds, then I wouldn't be so concerned. But unfortuantely, we have very little testing with the debug builds. To run the debug versions I usually just do the make install DEBUG=1, not doing a full build. So if you don't run debug to see asserts and QA doesn't run the debug versions, then who's going to find an assert if it's caused by your code?The idea I was trying to make by my comment is that if nobody ever runs codes with asserts, what's the point of having them? For my development on windows and linux, spending part of my time running the debug builds has really been worth it in terms of finding bugs. I suspect this works for me and not you might be because I have a faster computer.No, the reason I don't run the debug build is not because I have a 1.6Ghz machine. It is because I DON'T CARE about any of the information that it would give me, so its not worth my time. I don't have to get distracted with all this running-a-compiler stuff that would slow me down every time davids checks in, seeing wx asserts that I don't care about, and I can just type "make install" to get whatever it is I need. Probably the only disagreement here is that I think making a prebuilt debug verison available to people outside OSAF will be useful in narrowing down problems and/or testing their python extensions. I'm certainly not proposing that we force people to test anything or force them to run any version -- and I'm all for telling people the debug version is way slow. However, if we make it easier for people to get the debug version we make it more likely that people will use it and find bugs for us. I think I'm confused here. All the version are build so you can run with or without python -O. It's decided by the launcher, or by you if you decide to run Chandler with your own command line arguments, so I don't see how you're proposing milestones and nightly builds differ. Symbols are another story, they are currently included only in the debug C++ libraries -- and yes, I agree they are only useful if you run the debugger or get a crash backtrace.
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
