Python wrong __name__ == __main__ evaluation Sysprogs forums › Forums › VisualGDB › Python wrong __name__ == __main__ evaluation This topic contains 1 reply, has 2 voices, and was last updated by support 1 week, 1 day ago. Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) Author Posts January 13, 2020 at 17:23 #27036 hfParticipant 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. January 13, 2020 at 17:24 #27037 supportKeymaster Hi, We would be happy to help you, however it looks like your support period has expired. Please renew it via this page and we will help you resolve this issue. Author Posts Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.