Hello,
we try to use also visualgdb for debugging a python embedded project. The problem ist currently the expression
__name__ == __main__
expression which is wrong.
If i call the script on the pi directly it is processed correct.
Over visualgdb i get the value “<run_path>” from the __name__ variable.
Any hints?
at the moment i use the workaround with
if __name__ == “<run_path>”:
but is can’t be there after debugging the code.