laike9m / Cyberbrain

Python debugging, redefined.
http://bit.ly/cyberbrain-features
MIT License
2.51k stars 159 forks source link

Wrong highlighted line for function parameters #109

Closed laike9m closed 3 years ago

laike9m commented 3 years ago

Example: https://github.com/laike9m/Cyberbrain/blob/master/examples/twelve_days/twelve.py

day should be on line 14, but line 47 is highlighted.

image

laike9m commented 3 years ago

Since dealing with global and enclosing vars are very hard, for now we can ignore them. So the fix would be: