QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Pete on April 30, 2020, 01:07:54 pm
-
I'm still working on my project, so I haven't switched to the latest 1.4 build yet. So in 1.3, I jut tried to do a find replace in the IDE: Alt + S + C, but here's the deal (recalls Dana Carvey's George H.W. Bush impersonation...) I had just completed a previous backwards search, and I thought, hmm, I never have done a replace with that search backwards box checked, so I left it that way, and guess what? I got an IDE module error alert! So apparently in version 1.3, you can not do a search and replace with the search backwards box checked. If this was fixed in V1.4, I apologize.
Pete
-
I don't recall fixing this (I don't recall this being reported). I'll have a look.
-
Can you reproduce it and tell me what codes appeared in the error message you got?
-
I get:
IDE Module Error
Module: ide_methods, on line 5129
-
Thanks.
-
What's weird is that happened on my 12,000 line program, but I just went and tried the same search backwards find and replace on a small 50 line program, and it worked just fine! Sorry there is no consistency here. BTW I tried changing both the find and replace words and it didn't make any difference. The large program still produced the IDE module error. All can say is if you have the 1.3 version, try using one of your larger programs to reproduce the error, if that line number doesn't help you track it down.
Pete
-
Elephant in the room is that program. What are you doing that needs 12000 lines of code?
12000 bottles of beer on the wall with no loop?
-
Hello Universe
I've moved on quite a ways from my 5,000 line hello world program.
Pete
100 bottles of beer up your bum
100 bottles of beer
If one of those bottles should happen to pass
99 bottles of beer up your...
-
What's weird is that happened on my 12,000 line program, but I just went and tried the same search backwards find and replace on a small 50 line program, and it worked just fine!
Would be nice to know how many lines of code it takes, before it quits. Using the development build, my 4000+ line program works fine with that "search backwards" box checked. (My attention span is not long enough to write a 12,000 program.)
-
Well if Fell can track this down from the module error, more power to him. This is one he may not be able to reproduce. It doesn't seem to have to do with the size but it may have something to do with the IDE being opened for days, interaction with the O.S. if any of that is possible? The reason I ask is this. I saved the file, closed the IDE, reopened it, and guess what? Now I cannot reproduce the error! This reminds me of an O.S. problem where when everything else fails, just reboot!
So I'd say this is of little significance to the project, unless it's an easy find.
This certainly isn't as bad as crashing a QB64 exe, because the user mistakenly put a negative value into an array... x$(a) where a = -1, for instance. I suppose there might be a way to warn the user before the crash, but maybe not. At least whatever caused this error, didn't crash the IDE, that's win for the stability of this system.
Anyway Fell, don't spend too much if any time on this. It happened, I could reproduce it before I closed it out, but now it ain't happening no mo'.
Pete
-
Admit it, Pete. It never happened, and you are just looking for attention. You know, they warned us that this might happen, what with the long lockdown period. People craving for attention.
I get these frequent tips from my company, about how to keep sane in the lockdown. I used to chuckle at these, but maybe instead, they are important! I should forward them to you, Pete. Really, it's no bother at all.
-
I knew I never should of took that paternity test. Sorry kid!
Pete :D