mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-10-31 02:42:33 +01:00 
			
		
		
		
	IDE: debugging
git-svn-id: trunk@29974 -
This commit is contained in:
		
							parent
							
								
									be2698980b
								
							
						
					
					
						commit
						cc790adde3
					
				| @ -1713,7 +1713,7 @@ var | ||||
|   JITMethod: TJITMethod; | ||||
|   CurLookupRoot: TPersistent; | ||||
| begin | ||||
|   //debugln('TJITComponentList.ReaderSetMethodProperty ',DbgSName(Instance),' LookupRoot=',DbgSName(Reader.LookupRoot),' ',PropInfo^.Name,':=',TheMethodName); | ||||
|   //debugln('TJITComponentList.ReaderSetMethodProperty START ',DbgSName(Instance),' LookupRoot=',DbgSName(Reader.LookupRoot),' ',PropInfo^.Name,':=',TheMethodName); | ||||
|   Method.Code:=FCurReadJITComponent.MethodAddress(TheMethodName); | ||||
|   if Method.Code<>nil then begin | ||||
|     // there is a real method with this name | ||||
| @ -1728,7 +1728,7 @@ begin | ||||
|       CurLookupRoot:=GetLookupRootForComponent(Reader.LookupRoot); | ||||
|       if CurLookupRoot<>nil then begin | ||||
|         // create a fake TJITMethod | ||||
|         //DebugLn(['TJITComponentList.ReaderSetMethodProperty ',DbgSName(reader.LookupRoot),' TheMethodName=',TheMethodName]); | ||||
|         //DebugLn(['TJITComponentList.ReaderSetMethodProperty create JIT method: ',DbgSName(reader.LookupRoot),' TheMethodName=',TheMethodName]); | ||||
|         JITMethod:=JITMethods.Add(CurLookupRoot.ClassType,TheMethodName); | ||||
|       end; | ||||
|     end; | ||||
| @ -1738,6 +1738,7 @@ begin | ||||
|       Method.Data:=nil; | ||||
|   end; | ||||
|   SetMethodProp(Instance, PropInfo, Method); | ||||
|   //debugln(['TJITComponentList.ReaderSetMethodProperty Data=',dbgs(Method.Data),' Code=',dbgs(Method.Code)]); | ||||
|    | ||||
|   Handled:=true; | ||||
| end; | ||||
|  | ||||
| @ -3960,6 +3960,7 @@ end; | ||||
| function TMethodPropertyEditor.GetValue: ansistring; | ||||
| begin | ||||
|   Result:=PropertyHook.GetMethodName(GetMethodValue,GetComponent(0)); | ||||
|   //debugln(['TMethodPropertyEditor.GetValue Name=',GetName,' Result=',Result,' Data=',dbgs(GetMethodValue.Data)]); | ||||
| end; | ||||
| 
 | ||||
| procedure TMethodPropertyEditor.GetValues(Proc: TGetStrProc); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 mattias
						mattias