Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy access to useful debug info #68

Open
azy2 opened this issue Jul 29, 2016 · 0 comments
Open

Easy access to useful debug info #68

azy2 opened this issue Jul 29, 2016 · 0 comments
Assignees

Comments

@azy2
Copy link
Collaborator

azy2 commented Jul 29, 2016

For this debug file:

TEST: com.puppycrawl.tools.checkstyle.checks.TranslationCheckTest#testRegexpToMatchPartOfBaseName
java.lang.Thread.getStackTrace(Thread.java:1552)
edu.illinois.nondex.shuffling.ControlNondeterminism.printStackTraceIfUniqueDebugPoint(ControlNondeterminism.java:170)
edu.illinois.nondex.shuffling.ControlNondeterminism.internalShuffle(ControlNondeterminism.java:158)
edu.illinois.nondex.shuffling.ControlNondeterminism.shuffle(ControlNondeterminism.java:87)
java.util.HashIteratorShufflerNode.<init>(Unknown Source)
java.util.HashMap$HashIterator.<init>(HashMap.java:1427)
java.util.HashMap$KeyIterator.<init>(HashMap.java:1459)
java.util.HashMap$KeySet.iterator(HashMap.java:916)
java.util.HashSet.iterator(HashSet.java:172)
com.puppycrawl.tools.checkstyle.checks.TranslationCheck.checkExistenceOfRequiredTranslations(TranslationCheck.java:278)
com.puppycrawl.tools.checkstyle.checks.TranslationCheck.finishProcessing(TranslationCheck.java:254)
com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:201)
com.puppycrawl.tools.checkstyle.BaseCheckTestSupport.verify(BaseCheckTestSupport.java:151)
com.puppycrawl.tools.checkstyle.checks.TranslationCheckTest.testRegexpToMatchPartOfBaseName(TranslationCheckTest.java:366)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

I want to see

java.util.HashIteratorShufflerNode.<init>(Unknown Source)
java.util.HashMap$HashIterator.<init>(HashMap.java:1427)
java.util.HashMap$KeyIterator.<init>(HashMap.java:1459)
java.util.HashMap$KeySet.iterator(HashMap.java:916)
java.util.HashSet.iterator(HashSet.java:172)
com.puppycrawl.tools.checkstyle.checks.TranslationCheck.checkExistenceOfRequiredTranslations(TranslationCheck.java:278)
com.puppycrawl.tools.checkstyle.checks.TranslationCheck.finishProcessing(TranslationCheck.java:254)
com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:201)
com.puppycrawl.tools.checkstyle.BaseCheckTestSupport.verify(BaseCheckTestSupport.java:151)
com.puppycrawl.tools.checkstyle.checks.TranslationCheckTest.testRegexpToMatchPartOfBaseName(TranslationCheckTest.java:366)

Printed and maybe in the html file as well.

@azy2 azy2 self-assigned this Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant