Closed Curculigo closed 2 months ago
Hi, that's not a crash. You built the library and ecode in debug mode and triggered an special assert that triggers a breakpoint, it triggered here, app wouldn't have crashed, but some asserts are there to identify potential issues and unexpected behaviours like this one: it was trying to access a line that doesn't exists anymore in the document during a lookup for links over the cursor position, but knows how to handle the situation and avoids any crash gracefully. Problem is that if you're not debugging it process will be paused forever since you don't have any way to continue after the breakpoint. I guess this breakpoint can trigger if you paste you contents into a selection that contains less lines that the original selection and the mouse is positioned in a position that was occupied before but not used now (I'll try to trigger it later, but it's nothing problematic).
Please don't use ecode in debug mode (I guess you manually built ecode and didn't use the build script provided), it's much slower and you'll encounter several breakpoint calls all over the code base, it's not meant to be used by users, just developers. As a reminder, to build in release mode if you used premake5 during make call you need to add make config=release_x86_64
, and if used premake4 just use make config=release
.
I'll add this information in the eepp README, since it's only mentioned on some OSes but not all.
I'm building in debug mode because I want to have more insightful reports when the application crashes. I don't know that I opened a can of worms. You see, #292 took months to be fixed. #330 is not yet incorporated in a release. ecode looks cool but I can't use it for anything serious. Really. I'm thinking about upgrading my hardware and simply use VSCode.
I'm building in debug mode because I want to have more insightful reports when the application crashes.
I see, you don't need to though, release build is not stripping symbols anymore, you should have decent backtrace information from release build. If you still want to run in debug mode you can comment this line and it won't trigger a breakpoint if that's what annoys you. This is the beautiful thing about open-source, you can modify it and play with it.
I don't know that I opened a can of worms.
Mhhh, well, debug builds are exactly for that, you put everything in disposal to expose the worms right in front of your eyes.
You see, https://github.com/SpartanJ/ecode/issues/292 took months to be fixed.
It took me 2 months to reproduce it and the information provided was not enough to find the underlying issue. I'm very responsive with all bug reports, I don't even need to clarify that. It was fixed the same day I was able to trigger it, so yeah, sorry you have to wait, but that's how things work. For the moment I'm still the sole developer of a huge project (ecode is just a small part of eepp).
https://github.com/SpartanJ/ecode/issues/330 is not yet incorporated in a release.
It's not critical to justify a new release, each release takes me at least a couple of hours so it's not fun nor I have the time to do it so frequently, and nightly builds haven't been setup yet, another pending task in a long list (of course you're more than invited to try to set it up). Time is always the limiting factor (man, I've a full time job and a family, I'm not a kid). I would love to have everything ready and in perfect state but that's not realistic.
ecode looks cool but I can't use it for anything serious. Really.
Sorry to hear, but no offence taken, I'm really happy with its current state, I'm using it professionally at least 8 hours a day and enjoying it every single day (and not missing any browser or java based IDE or code editor), and also, I'm very proud of what I achieved so far, and still wanting for more.
I'm thinking about upgrading my hardware and simply use VSCode.
Hopefully you can get some nice hardware! I've been there in my youth, it sucks to work with a potato, but it can be also a really good learning experience, thanks to that you end up testing new operating systems, squeezing every CPU cycle and you need to be mindful about each megabyte of memory used. Good luck with VSCode, it's an impressive peace of software developed by over 2k developers. I can't or want to compete with that, he.
I build from the latest code. It seems the newly merged
esfw
is not OK.Description: A CMakeLists.txt file again. I'm selecting the code to paste into other CMakeLists.txt file and crashed. The files were dragged into ecode from Windows Explorer. They are not even on the list of recent files the next time I start ecode this time.