2
Vote

Call stack shows unqualified function names

description

Given this code:
class Shape:
    def area(self):
        pass  # breakpoint here

class Square(Shape):
    def area(self):
        return super().area()

x = Square().area()
When the breakpoint is hit, the callstack will show area twice but there is no way to tell which class it belongs to. (This has flow-on effects for tools like Parallel Stacks and Code Map, which use the reported name to distinguish between functions. This case will look like recursion...)

comments