Author Topic: build window stops showing the latest, stops at line 1176  (Read 4310 times)

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
build window stops showing the latest, stops at line 1176
« on: December 19, 2017, 10:13:10 PM »
I uploaded a file to support.slickedit.com called build_last.log.xz

After unzipping the file, in linux SE in the process buffer, first clear the process buffer then do "cat build_last.log".

I expect that it should always show me the latest build output and when it is done I should see the prompt back.

However, the build window gets stuck at around line 1176, and I need to press Ctrl-End to go to the end and see the prompt.

I think there is an issue here where SE should continue showing the build output past 1176 and when finally done, show the prompt on the screen instead of me needing to press Ctrl-End to get there.

I am on Linux x64 CentOS 7

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #1 on: December 20, 2017, 02:00:40 AM »
The build window doesn't support random binary output. This just isn't supported at all. SlickEdit may attempt to interpret the right sequence as a command to execute.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: build window stops showing the latest, stops at line 1176
« Reply #2 on: December 20, 2017, 02:57:30 AM »
Clark: This is not a binary output. The file is an xz file, you need to unzip it (unxz build_last.log.xz). After unzipping you will see a text file named build_last.log. This is a log of my build output. Do "cat build_last.log" in the process buffer to simulate the build and its output, then you'll see what I'm talking about.
« Last Edit: December 20, 2017, 03:00:02 AM by rowbearto »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #3 on: December 20, 2017, 03:00:50 AM »
Not familiar with xz ;D

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: build window stops showing the latest, stops at line 1176
« Reply #4 on: December 20, 2017, 03:02:04 AM »
If you are not able to decompress it then I can send it with gz instead.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: build window stops showing the latest, stops at line 1176
« Reply #5 on: December 20, 2017, 03:04:18 AM »
7zip is also capable of decompressing xz files. xz is much better compression than gzip. With xz this log compressed to 20Kbyte, with gzip it compressed to 25Kbyte.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #6 on: December 20, 2017, 03:15:19 AM »
Interesting. Definitely useful.

Your sample file is very interesting. Seems to have something to do with the tabs in the file.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #7 on: December 20, 2017, 03:25:14 AM »
The problem is the length of the line. This line has to be forced wrapped to ensure reasonable performance. It fails to continue to scroll with the first line which is over about 4000 bytes.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #8 on: December 20, 2017, 03:40:34 AM »
If you change the "Wrap line length" (Tools>Options>File Options>Load) to 8000 you won't get the problem. Just be careful how large you make this. You may see performance degradation with files with many long lines.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: build window stops showing the latest, stops at line 1176
« Reply #9 on: December 20, 2017, 02:21:24 PM »
Thanks Clark!

Is there a way to change the wrap line length from a macro? Lately I've been wanting to do most of my configuration changes from macro so that it is easier to apply it to a clean configuration or to a colleague's configuration.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: build window stops showing the latest, stops at line 1176
« Reply #10 on: December 20, 2017, 02:22:29 PM »
Another question is whether SE code can be fixed so that it will continue to scroll even if it had to wrap a line? Or is there too steep a cost for such a change?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #11 on: December 20, 2017, 03:03:38 PM »
Not sure. Looking at it now.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #12 on: December 20, 2017, 05:32:55 PM »
Fixed. There's was code there to scroll when splitting lines but there was a bug with handling tabs.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: build window stops showing the latest, stops at line 1176
« Reply #13 on: December 20, 2017, 06:37:19 PM »
Thanks Clark! Is that a hotfix or need to wait for next point release?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: build window stops showing the latest, stops at line 1176
« Reply #14 on: December 20, 2017, 07:38:53 PM »
Next point release