Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 622AE9EAC for ; Mon, 2 Jul 2012 20:32:37 +0000 (UTC) Received: (qmail 7114 invoked by uid 500); 2 Jul 2012 20:32:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6984 invoked by uid 500); 2 Jul 2012 20:32:36 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 6971 invoked by uid 99); 2 Jul 2012 20:32:36 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2012 20:32:36 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 552C2142822 for ; Mon, 2 Jul 2012 20:32:36 +0000 (UTC) Date: Mon, 2 Jul 2012 20:32:36 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <2066187021.184.1341261156354.JavaMail.jiratomcat@issues-vm> In-Reply-To: <761280639.17368.1339718382613.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Closed] (DERBY-5819) Add logic to BaseTestCase to start subprocesses ready to be attached to from a Java debugger MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik closed DERBY-5819. -------------------------------- Closing. If needed this patch could be backported. > Add logic to BaseTestCase to start subprocesses ready to be attached to from a Java debugger > -------------------------------------------------------------------------------------------- > > Key: DERBY-5819 > URL: https://issues.apache.org/jira/browse/DERBY-5819 > Project: Derby > Issue Type: Improvement > Components: Test > Reporter: Dag H. Wanvik > Assignee: Dag H. Wanvik > Priority: Minor > Fix For: 10.10.0.0 > > Attachments: derby-5819.diff, derby-5819b.diff, derby-5819c.diff, derby-5819d.diff > > > Sometimes it's useful to be able to attach to subprocesses of tests with a debugger. > Now that we have centralized subprocess creation in BaseTestCase#execJavaCmd it would be easy and useful to have subprocesses start, but wait for a debugger to attach to them, i.e. with these options on an Oracle VM: > -Xdebug -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=y -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira