Debugging Python code with HAP

macsbug

Chieftain
Joined
Oct 31, 2005
Messages
75
I accidentally posted this in the Beyond the Sword forum originally - it probably belongs here, however. So, until it gets moved or deleted:

I'm doing some Python debugging - I can attach the "HAP Python Remote Debugger" to the game, I can set breakpoints, and I can step through the code - all that works fine. However unlike, for example, Visual Studio's debugger there the debugger does not "mark" the current instruction in any visible way I've noticed (Visual Studio, for example, uses a small yellow arrow on the left hand side of the editor). When I tell HAP to execute the current instruction, either with the "Step Over" or "Step In" command, I need to take a look at the call stack to get the new line number then manually find that line number in the python file. Is there any fix for this, or did I miss something obvious?
 
Top Bottom