title: pdb bypass error/Jump failed: can only jump from a 'line' trace event
body: <p>I'm trying to debug a Python program using pdb. The program could be like this:</p>
  
  <pre><code>def main():
      a = 1
      print(b)
      c = 2
      d = 3
  </code></pre>
  
  <p>Apparently, print(b) is a typo which should be print(a) but it is not important and I can fix it with the text editor but I want to bypass this error and continue debugging. </p>
  
  <p>I tried jump, like jump 4(assuming "c=2" is line 4) but I was given error "Jump failed: f_lineno can only be set by a line trace function", which means I need to give a line trace function when I'm programming. </p>
  
  <p>So, is there a way to deal with this problem, or is there some other way to bypass the error line when using pdb? </p>