79809268

Date: 2025-11-04 18:31:07
Score: 4
Natty: 5
Report link

I join to this debate in 2025 almost 2026.
I have a main function which calls many other functions. Each function is in a file separated from the main function.

lets say the following

main.py
variable1 = 123
variable2 = 1435
from utilsfolder.function_one import function_one
result_one = function_one (variable1, variable2)
from anotherfolder.function_two import function_two
result_two = function_two(variable1,result)
from utilsfolder.function_three import function_three
result_three = function_three(result,variable1, variable2)
print (f"The final result is {result_three}")

So I want to run the code up to function_two and then depure function_three since I notice that function_three on line 50 is having some issue that I want to understand.

My objective is to run the code up to result_two then stop!
Run function three as a new depuration and top at line 49... understand the problem, fix it and then exit that secondary depuration... keep running the first depuration

how can I do this secundary depuration?

Is this even possible with SPYDER or VSCODE?

Best regards my friends :D

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (1): can I do
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user3427034