Eclipse WTF



  • Ever tried using a REALLY long line? Well VIM has no problem looking at it, copy, paste, w/e... Well with the brilliance of eclipse's single-threadedness the UI becomes unresponsive and I have no way to stop eclipse from attempting to compile one line of test data which just happens to be about a meg long (And I need it to be that long to propperly test something)... Guess test cases are for wussies!



  • Why would the data need to be in code, would it not be easier to load it from an external source? 



  •  Actually I tried both ways, easier to do it from code. This way I also have the ability to put all sort of markings so each line of data can be describe in the log. Was amazingly helpful when I had to track a few bugs down after I forgot about how the system worked or what each test did (there are currently 40 tests to test a state machine).



  • @dlikhten said:

    easier to do it from code.
     

    Obviously not.



  • Well no its easier from code...

    I had to kill eclipse, restart, turn off auto-building, and right away paste into a string (" ") that way eclipse didn't bug out.

    What easier is that I can do expected results per processed line because I need to make sure that the state is correctly transitioned. And I see exactly what is put it by looking at the code rather than jumping around files looking for which line is for what. Helps if the data file is 300 megs!



  • @dlikhten said:

    This way I also have the ability to put all sort of markings so each line of data can be describe in the log. 

     

     

    how does putting this data into, let say, a seperate file prevent you from doing that? 



  • @zipfruder said:

    @dlikhten said:

    This way I also have the ability to put all sort of markings so each line of data can be describe in the log. 

     

     

    how does putting this data into, let say, a seperate file prevent you from doing that? 

     

    More work :)



  • Hmm, one time in Eclipse I had a file with a bunch of images stored as strings (don't ask...), which led to several lines of several megabytes each. They all played just fine with Eclipse, although granted this was several years ago.


Log in to reply