Author Topic: next_error does not work while long build is ongoing - beta2  (Read 1037 times)

rowbearto

  • Senior Community Member
  • Posts: 1974
  • Hero Points: 122
next_error does not work while long build is ongoing - beta2
« on: August 29, 2018, 02:57:06 pm »
For a C++ build, if a compilation error is generated during the build and I do "next_error" WHILE THE BUILD IS STILL ONGOING, SE is not opening the file/line at the error. "next_error" will work shortly after the build is over, but if the build is still ongoing, next_error is not working.

I checked version 22 and next_error does work while a build is ongoing. So this is a regression in v23.

If you need me to, I can generate a test project (which has sleep 1000 at the end to simulate a long build). I did this on my company proprietary project, but it would save me time to not generate a small test project like this if SE team can try it on their own.

rowbearto

  • Senior Community Member
  • Posts: 1974
  • Hero Points: 122
Re: next_error does not work while long build is ongoing - beta2
« Reply #1 on: August 29, 2018, 03:01:29 pm »
Seems like it works sometimes, and other times not. It may depend on whether a "stop-build" was executed on previous build. If you do a build where it is working, try stop-build when the build is ongoing, then try a new build and do "next_error" while build is ongoing. Try it a few times in a row to see if you can repro it.

rowbearto

  • Senior Community Member
  • Posts: 1974
  • Hero Points: 122
Re: next_error does not work while long build is ongoing - beta2
« Reply #2 on: August 29, 2018, 03:18:13 pm »
Seems my error parsing exclusions are needed to reproduce this with a clean config.

Looks like this is related to the issue I reported in:

https://community.slickedit.com/index.php?topic=16338.0

Maybe it is same root cause, maybe it is not.

I have generated a small test case to reproduce it. Look for ongoingbuild.tar.gz on support. README file inside it gives instructions for reproduction.

rowbearto

  • Senior Community Member
  • Posts: 1974
  • Hero Points: 122
Re: next_error does not work while long build is ongoing - beta2
« Reply #3 on: August 30, 2018, 06:12:15 pm »
This issue and the other one I reported on appear to be fixed in beta3.

Thanks!