mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix by Edward K Ream to make breakpoints work on Windows: insert a
missing call to self.canonic().
This commit is contained in:
		
							parent
							
								
									bc64f7c6f3
								
							
						
					
					
						commit
						16ac99a959
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -297,6 +297,7 @@ def set_breakpoint_here(self, edit): | |||
|     # A literal copy of Bdb.set_break() without the print statement at the end | ||||
|     def set_break(self, filename, lineno, temporary=0, cond = None): | ||||
|         import linecache # Import as late as possible | ||||
|         filename = self.canonic(filename) | ||||
|         line = linecache.getline(filename, lineno) | ||||
|         if not line: | ||||
|             return 'That line does not exist!' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum