I am doing my master's thesis in Physics and I am stuck already for a quite bit. What I mean by "stuck" is that I am trying to implement something completely new to the analysis of my working group and I have put REALLY MUCH effort into it and now once this thing is finally implemented, the results I get do not seem reasonable. I do understand that communication in research is very important and I do communicate with my supervisors, however they do not seem to have answers and I am in an infinite loop of suggestions what I can do to improve this - without any improvement. What stresses me the most is that I was planning to ask my professor to continue with PhD in his working group, however now I do not feel "worthy" anymore. I feel like I failed his expectations and honestly, not only his, in the first place - I failed my own expectations. I know that it may sound like I judge myself too harsh, however I am stuck with this problem already for 3 months and it transformed into literally infinite loop of trials to find what's wrong and "neverfinding" answer. I wanted to share this failure of mine and hear some suggestions from you (maybe from someone who has gone through something similar) on how to overcome self-judgement and stress. Days can pass with me looking at the screen and my code, with trying million options and going through one failure after another.. It starts to hurt me and I am scared..