Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep recursion while scanning topic inheritance! - not helpful :) #167

Closed
dcsan opened this issue Sep 8, 2016 · 3 comments · Fixed by #183
Closed

Deep recursion while scanning topic inheritance! - not helpful :) #167

dcsan opened this issue Sep 8, 2016 · 3 comments · Fixed by #183
Milestone

Comments

@dcsan
Copy link
Contributor

dcsan commented Sep 8, 2016

I see this error often debugging end user scripts, but it would be great if it said which topic was causing that issue. debugging on big projects is really difficult.

@dcsan
Copy link
Contributor Author

dcsan commented Oct 12, 2016

great, installed 1.17 to have a look at this, however the error now:

mtl-1 (err): Deep recursion while scanning topic inheritance (gave up in topic shared)!

we have a topic called shared which is inherited by a lot of things, but an error with just that topic info is hard to pin down. it would be very helpful to see the whole inheritance tree or get some more info.

@kirsle
Copy link
Member

kirsle commented Oct 12, 2016

For diagnosing things like that you could turn on debug mode and scan through the output. It's probably caught in a circular loop. It should log debug stuff for each topic it's on, along with other helpful info (how deep into the recursion it's at, etc.)

@dcsan
Copy link
Contributor Author

dcsan commented Oct 14, 2016

ok i'll try debug. that works at parse time too? ok
I also used deparse to see if i could spot where it was... but with a lot of topics that's hard to scan too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants