- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for JDWPUtil (0.16 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JDWPUtil.groovy
/** * A utility for communicating with a VM in debug mode using JDWP. */ class JDWPUtil implements TestRule { String host Integer port def vm def connection def connectionArgs JDWPUtil() { this(FixedAvailablePortAllocator.instance.assignPort()) } JDWPUtil(Integer port) { this("127.0.0.1", port)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy
def "can debug with org.gradle.debug=true"() { given: Assume.assumeTrue(debugPortIsFree()) executer.requireDaemon().requireIsolatedDaemons() JDWPUtil jdwpClient = new JDWPUtil(5005) when: def gradle = executer.withArgument("-Dorg.gradle.debug=true").withTasks("help").start() then: ConcurrentTestUtil.poll() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 05:05:14 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/TestLauncherDebugTestsCrossVersionTest.groovy
import spock.lang.Timeout @TargetGradleVersion(">=5.6") @Timeout(60) class TestLauncherDebugTestsCrossVersionTest extends ToolingApiSpecification implements WithOldConfigurationsSupport { @Rule JDWPUtil jdwpClient = new JDWPUtil() def setup() { buildFile << """ plugins { id 'java-library' } ${mavenCentralRepository()}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecDebugIntegrationTest.groovy
import org.junit.Rule import spock.lang.Issue @Flaky(because = "https://github.com/gradle/gradle-private/issues/3612") class JavaExecDebugIntegrationTest extends AbstractIntegrationSpec { @Rule JDWPUtil debugClient = new JDWPUtil() def setup() { executer.beforeExecute { // When waiting for debugger/target JVM, there might be: // com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestLauncherDebugCrossVersionTest.groovy
.withTaskAndTestClasses(':app:test', Arrays.asList('TestClass1')) .setStandardOutput(stdout) if (debugMode) { // JDWPUtil is flaky https://github.com/gradle/gradle/issues/26366 testLauncher.debugTestsOn(49052 + (retryCounter++)) } testLauncher.run(resultHandlerFor(debugMode)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 29 08:00:25 UTC 2023 - 4.6K bytes - Viewed (0)