You need to sign in to do that
Don't have an account?
sdhar
System.debug statements doesn't show up in Debug Log
Im trying to debug a method to find out the results and values through out the logic.
I changed the "Apex Code" filters to finest and also tried the override log level at the "Apex class".
but none of the setting has worked.
I do not see any of the debug statments in the class[Controller]. it just shows the query.
sample log below. GetRecordtypeId is the method I'm looking at.
(1153482000)|METHOD_ENTRY|[1812]|01p700000004hD4|TopicControllerV2.GetRecordTypeId() 09:55:48.155 (1155352000)|SOQL_EXECUTE_BEGIN|[2080]|Aggregations:0|select Major_Area__c, Category__c, Subcategory__c, Description__c, Topic_Record_Type_Id__c, Segment__c from Metadata_Topic_Record_Type_Selection__c where (Segment__c like :tmpVar1 and Comment_Type__c like :tmpVar2) order by Major_Area__c, Category__c, Subcategory__c, Description__c 09:55:48.165 (1165416000)|SOQL_EXECUTE_END|[2080]|Rows:4 09:55:48.173 (1173862000)|SOQL_EXECUTE_BEGIN|[2209]|Aggregations:0|select Major_Area__c, Category__c, Subcategory__c, Description__c, Topic_Record_Type_Id__c from Metadata_Topic_Record_Type_Selection__c 09:55:48.184 (1184117000)|SOQL_EXECUTE_END|[2209]|Rows:10 09:55:48.197 (1197222000)|METHOD_EXIT|[1812]|01p700000004hD4|TopicControllerV2.GetRecordTypeId()
Im I missing something?
Hi,
Just delete all the debug logs and add your user once again to debug log.
Also; check if control is actually reaching to the point where you have placed your debug statements. You can add the debug statements to the start of your method and check.
Cheers!!