title: Since i used optionmenu from tkinter in python, debugging do not work anymore (in all skripts)
body: <p>The full error is here:</p>
  <pre><code>debugfile('C:/Users/Tom/.spyder-py3/pandatesttest.py', wdir='C:/Users/Tom/.spyder-py3')
  &gt; c:\users\tom\.spyder-py3\pandatesttest.py(1)&lt;module&gt;()
  ----&gt; 1 import matplotlib.pyplot as plt
        2 import pandas as pd
        3 import xlrd
        4 import numpy.matlib
        5 import numpy as np
  
  Traceback (most recent call last):
  
    File &quot;c:\users\tom\.spyder-py3\pandatesttest.py&quot;, line 1, in &lt;module&gt;
      import matplotlib.pyplot as plt
  
    File &quot;c:\users\tom\.spyder-py3\pandatesttest.py&quot;, line 1, in &lt;module&gt;
      import matplotlib.pyplot as plt
  
    File &quot;D:\Anaconda\lib\bdb.py&quot;, line 88, in trace_dispatch
      return self.dispatch_line(frame)
  
    File &quot;D:\Anaconda\lib\bdb.py&quot;, line 112, in dispatch_line
      self.user_line(frame)
  
    File &quot;D:\Anaconda\lib\pdb.py&quot;, line 259, in user_line
      self.interaction(frame, None)
  
    File &quot;D:\Anaconda\lib\site-packages\spyder_kernels\customize\spyderpdb.py&quot;, line 143, in interaction
      self._cmdloop()
  
    File &quot;D:\Anaconda\lib\site-packages\spyder_kernels\customize\spyderpdb.py&quot;, line 302, in _cmdloop
      self.cmdloop()
  
    File &quot;D:\Anaconda\lib\cmd.py&quot;, line 105, in cmdloop
      self.preloop()
  
    File &quot;D:\Anaconda\lib\site-packages\spyder_kernels\customize\spyderpdb.py&quot;, line 254, in preloop
      self.set_spyder_breakpoints(pdb_settings['breakpoints'])
  
    File &quot;D:\Anaconda\lib\site-packages\spyder_kernels\customize\spyderpdb.py&quot;, line 370, in set_spyder_breakpoints
      cond=condition)
  
    File &quot;D:\Anaconda\lib\bdb.py&quot;, line 375, in set_break
      line = linecache.getline(filename, lineno)
  
    File &quot;D:\Anaconda\lib\linecache.py&quot;, line 16, in getline
      lines = getlines(filename, module_globals)
  
    File &quot;D:\Anaconda\lib\linecache.py&quot;, line 47, in getlines
      return updatecache(filename, module_globals)
  
    File &quot;D:\Anaconda\lib\linecache.py&quot;, line 137, in updatecache
      lines = fp.readlines()
  
    File &quot;D:\Anaconda\lib\codecs.py&quot;, line 322, in decode
      (result, consumed) = self._buffer_decode(data, self.errors, final)
  
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 79: invalid continuation byte
  </code></pre>
  <p>I dont know what to do.
  If i try to debug a code (start debug button) this error pop up.
  I programmed a gui with tkinter. Since I accessed the object 'optionmenu' the error occurred by starting debugging. when I try to debug another script the error also comes</p>