title: R: How do I set a breakpoint in a different file?
body: <p>I have two files:</p>
  
  <p>Main.R</p>
  
  <p>Called.R</p>
  
  <p>Main.R has the line</p>
  
  <p>source('Called.R')</p>
  
  <p>Main.R calls a function in Called.R. I can step into the function in called.R, from Main.R no problem. </p>
  
  <p>However, if I set a breakpoint in the function in Called.R and call that function from Main.R, execution does not stop at the breakpoint. However, if I move the function into Main.R, execution does stop.</p>
  
  <p>Any idea if RStudio's debugger can recognize breakpoints set in 'sourced' files? I can't even find the problem referred to in the documentation.</p>
  
  <p>Thank</p>