hi all , how are u? i have a question , i have a java project and i want to check if a fucntion is called or executed while the execution of the program ..how can i do this ?....thnx in advance...
weblover 0 Junior Poster
Recommended Answers
Jump to PostAdd a log message in the function.
Example: System.out.println( "Method called" )
Jump to PostYou can have a variable take a specific value in the method, and then check that variable's value.
Jump to PostIt should have solved your problem if you followed our suggestions and if you have done it right.
Do you have some code for us to see?
All 9 Replies
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
weblover 0 Junior Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
weblover 0 Junior Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
Metahuman 0 Newbie Poster
weblover 0 Junior Poster
weblover 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.