Too many recursions problem with RainBow
When used much value of JS, I get Rainbow JS error: too many recursions, as results I can't see any JS code in "Script" section at all.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
Get Satisfaction loves Zappos because they care about customer service.
-
Inappropriate?I don't understand what do you mean by "used much value of JS". Can you reproduce this bug? Please describe steps how to reproduce it.
If you have issues with Rainbow, you may disable it in Tools -> Add-ons -
Inappropriate?I mean, that Rainbow don't work, when there is many lines of JS code on one page, seems it cause "Too many recursion" JS error (as I understand your script colorize code through any recursive function).
For example. try to use RainBow on http://parfumy.com, I think you will see error in FireBug console.
Thanks. -
Inappropriate?I've tried parfumy.com with FF3beta and FB1.2b03 and it works. No errors. I tried to click through some js files and all seems to be working fine.
Anyone has similar problems? -
Inappropriate?It's really strange...
I have exactly this error in FireBug Console:
Too much recursion: rainbow.js (line 31).
And when look on source, it's here:
return FBL.getSourceLineRangeOriginal.apply(this, arguments);
As I understood it's some recursion method, which called too much times. I think maybe I have some restriction in My FF (3.0) on max loops (maybr need to check hidden config) or restriction according to my computer performance (will check also). In any case, seems it's while only my specific problem. -
Inappropriate?See this in rainbow source code:
http://github.com/woid/rainbow4firebu...
When this code runs 2x (or more times), call to FBL.getSourceLineRange ends up in infinitive recursion.
This situation should never happen (maybe only if there are installed two or more rainbow extensions in one profile, maybe different versions or so). Anyway strange situation.
I'll try to detect this situation and initialize only once. -
Inappropriate?I've committed possible fix to github (http://github.com/woid/rainbow4firebu...).
You may download it using git and build your xpi using rake. Then install it manually. Or wait for a next release. -
Inappropriate?I've downloaded the lastest changes from github, just found out I had ruby on my mac machine :), and compiled the extension. Reaction: :| Yes, it shows up code. But not colored... I'll try to remove rainbow and install again...
-
Inappropriate?I've downloaded the lastest changes from github, just found out I had ruby on my mac machine :), and compiled the extension. And it works! bold code, but colored, alright! Thanks for your support, and great work!
I’m thankful
-
Inappropriate?Thumbs up!
Hint: You may change coloring styles in "Color" tab on the right side.
Expect this solved in v0.8 release (hopefully with final firebug 1.2) -
Inappropriate?Hi, Antonin. For now I made Rainbow work, seems it was conflicted with extension "FireBug Code Coverage":
http://www.zachleat.com/Projects/firebugCodeCoverage/
I guess this extension somehow used JS code and call it more then one time, as result there was a loop. For now I turn off this extension, and your Rainbow work great. Thanks for it. -
Inappropriate?Hi, mad_Fobos. Thanks for this info. I guess Firebug Code Coverage somehow caused Rainbow extension to load multiple times.
1 person says
this solves the problem
Loading Profile...



