So I have this problem with the debugger:
I'm doing Q2 from HW6, and it doesn't work, but when I use the debugger, it suddenly gets a diff error, I've checked several times and it happens every time. I tried simplifying the code so it won't "get confused" but that didn't work, what I did is get the values of two consecutive nodes and compare them, using the node_name.val() command, but when I use the debugger it tells me i'm trying to compare node_type to int / int to node / node to node (it changes from time to time).
When I don't use the debugger, the code works for that part, I even added a print command in order to make sure that the types of both values are integer type and it prints that. Moreover, when I run with the debugger it prints class node for both values.
Is it because something I'm doing or not understanding regarding the debugger?