You need to sign in to do that
Don't have an account?
Yogesh Dighe.
Is there is any problem in my simple apex code? I cant see DEBUG output.
Is there is any problem in my simple apex code? I cant see DEBUG output on my developer console!
====================================================
public class StrTest
{
public void generateStringArray(Integer length)
{
List<String> myArray = new List<String>();
for(Integer i=0;i<length;i++)
{
myArray.add('Test ' + i);
}
System.debug('****' + myArray);
}
}
====================================================
developer console>debug>open execute anonymous window>execute.
when i execute code, still i cant see DEBUG output :(
StrTest ob=new StrTest();
ob.generateStringArray(5);
====================================================
plz help me,
THANX in Advance :)
====================================================
public class StrTest
{
public void generateStringArray(Integer length)
{
List<String> myArray = new List<String>();
for(Integer i=0;i<length;i++)
{
myArray.add('Test ' + i);
}
System.debug('****' + myArray);
}
}
====================================================
developer console>debug>open execute anonymous window>execute.
when i execute code, still i cant see DEBUG output :(
StrTest ob=new StrTest();
ob.generateStringArray(5);
====================================================
plz help me,
THANX in Advance :)
All Answers
Please refer to below snapshots
1. Have you marked Open log while executing the code?
2. When you opened the Logs did you tried to search as USER_DEBUG in filter?