| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -116,15 +116,15 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							 | 
					 | 
					 | 
					 | 
							 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							void RefreshPad() | 
					 | 
					 | 
					 | 
							void RefreshPad() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							{ | 
					 | 
					 | 
					 | 
							{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								Thread thead = WindowsDebugger.CurrentThread; | 
					 | 
					 | 
					 | 
								Thread thread = WindowsDebugger.CurrentThread; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								if (thead == null) { | 
					 | 
					 | 
					 | 
								if (thread == null) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									listView.ItemsSource = null; | 
					 | 
					 | 
					 | 
									listView.ItemsSource = null; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								} else { | 
					 | 
					 | 
					 | 
								} else { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									var items = new ObservableCollection<CallStackItem>(); | 
					 | 
					 | 
					 | 
									var items = new ObservableCollection<CallStackItem>(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									bool previousItemIsExternalMethod = false; | 
					 | 
					 | 
					 | 
									bool previousItemIsExternalMethod = false; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									WindowsDebugger.CurrentProcess.EnqueueForEach( | 
					 | 
					 | 
					 | 
									WindowsDebugger.CurrentProcess.EnqueueForEach( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										listView.Dispatcher, | 
					 | 
					 | 
					 | 
										listView.Dispatcher, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										thead.GetCallstack(100), | 
					 | 
					 | 
					 | 
										thread.GetCallstack(100), | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										f => items.AddIfNotNull(CreateItem(f, ref previousItemIsExternalMethod)) | 
					 | 
					 | 
					 | 
										f => items.AddIfNotNull(CreateItem(f, ref previousItemIsExternalMethod)) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									); | 
					 | 
					 | 
					 | 
									); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									listView.ItemsSource = items; | 
					 | 
					 | 
					 | 
									listView.ItemsSource = items; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |