mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	I think I like it better if it prints the traceback even when it displays
the stack viewer.
This commit is contained in:
		
							parent
							
								
									9016fcf41c
								
							
						
					
					
						commit
						d5c8497a81
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -129,8 +129,8 @@ def run_module_event(self, event, debugger=None): | ||||||
|                 except: |                 except: | ||||||
|                     (sys.last_type, sys.last_value, |                     (sys.last_type, sys.last_value, | ||||||
|                      sys.last_traceback) = sys.exc_info() |                      sys.last_traceback) = sys.exc_info() | ||||||
| ##                    linecache.checkcache() |                     linecache.checkcache() | ||||||
| ##                    traceback.print_exc() |                     traceback.print_exc() | ||||||
|                     if not debugger: |                     if not debugger: | ||||||
|                         from StackViewer import StackBrowser |                         from StackViewer import StackBrowser | ||||||
|                         sv = StackBrowser(self.root, self.flist) |                         sv = StackBrowser(self.root, self.flist) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum