From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E025F21BC6ADC for ; Thu, 30 Mar 2017 01:58:01 -0700 (PDT) Received: by mail-lf0-x234.google.com with SMTP id j90so21805692lfk.2 for ; Thu, 30 Mar 2017 01:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=y1Z1XfT6ZiBrcRwDH16c0/VZPGIfjIGe6QigWcZ3KxA=; b=JncwNyG0GoHxtZw6m1pulsMtQY96UoQDTmeGRi1jSQo7NqITVP8F3ey/kGlhp0cmJ7 Rj6vbvh3Lu8C+/EIEcpvcr8+hL2q7EymcqrFbMU3Fl5CIDSLN6FUe3IWIpviaPOjS0wU A8eoBzR4U+BDVjOijbBYJe7VChtoo9zMdRtj+ejrisR/5knCGSV2i08pZF/UmbGSJ1Ci UemwzUfU+aE+sbVMeWeuRIfylWVQVG5CY3PqwO3mhItv1tC5IL/ylte7xLMDEW2tmmBu qGRja8nz9yRlDXotl6zCUord0sVzv2eGc1OOYOvqHCahcMsZMnhgoO5kz0WwAiY2la1g wSMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=y1Z1XfT6ZiBrcRwDH16c0/VZPGIfjIGe6QigWcZ3KxA=; b=LaD/cObOKl7PBJk7ri73J+RFz/DxnPtlY/FuGBoXkYY065MZv9QjAfSW2VxjY/2JNN upms396lcTCOzLab314/H6oy3egUaPw+TmGdt/f2L02hDcJhwdUA1caXvjuAl51fx8q+ bPH4mu8TybpFf1irygQLqn5oeZQ3TUyE6+ntWcZyBUfYXIDLxj26VS8idwEOJfjIPEBY 5rcJ2Gbl8eVtFhnQXAneYCtZ1/GL3ed4c+QEE2S8MzvLm/Br2AAp0NYaYYMgmoR0mC1o e4AkPd0JI3h6p3ZXWIVxvhixx8vwRNIxxyXpyUdYdPYwOZ6c7MR+Y6DLU2TvPA/HPcc3 SyVA== X-Gm-Message-State: AFeK/H08Qy6uH5Gg2C1XCyTfaIvNPYrWr2Tj+MsbN9NkN13zQLuKF7+kolMfpVLxDxo9pqve4wo4xBRqgIVmeA== X-Received: by 10.25.93.86 with SMTP id p22mr1450793lfj.9.1490864279961; Thu, 30 Mar 2017 01:57:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.72.213 with HTTP; Thu, 30 Mar 2017 01:57:59 -0700 (PDT) In-Reply-To: <542CF652F8836A4AB8DBFAAD40ED192A4C5811AF@shsmsx102.ccr.corp.intel.com> References: <542CF652F8836A4AB8DBFAAD40ED192A4C5811AF@shsmsx102.ccr.corp.intel.com> From: Arka Sharma Date: Thu, 30 Mar 2017 14:27:59 +0530 Message-ID: To: "Fan, Jeff" Cc: "edk2-devel@lists.01.org" Subject: Re: Using Intel UDk debugger X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 08:58:02 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Jeff for your reply. I followed the steps as mentioned in "9.11 Debugging a standalone module loaded in a UEFI shell". I have built DebugAgentDxe and loaded it in my target system. I cross checked in my target system UEFI setup Serial is enabled. In host I have installed WinDbgX64 and UDK debugger. I have configured the debug port COM1, connected the host and target with a null modem cable. Now when I launch SoftDebugger WinDbg starts with an error message "Could not start kernel debugging using exdi:clsid=3D{F56FC1A6-3422-4320-A7F3-41EAEC2A367D} parameters. If I attempt to reconnect with COM1 it throws "Access denied". Do I need to enable something more in target system ? Regards, Arka On Thu, Mar 30, 2017 at 10:55 AM, Fan, Jeff wrote: > Arka, > > UDK Debugger tool supports your usage model. > > Please see the section "9.11 Debugging a standalone module loaded in a UE= FI shell" @ https://firmware.intel.com/sites/default/files/UDK_Debugger_Too= l_User_Manual_V1.11.pdf > > Thanks! > Jeff > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ar= ka Sharma > Sent: Thursday, March 30, 2017 1:15 PM > To: edk2-devel@lists.01.org > Subject: [edk2] Using Intel UDk debugger > > Hi, > > I am sorry if it is not a right place to ask this. I have installed WinDb= g and Intel UDK debugger. I want to debug a driver and an application on an= Asrock borad, but going through the UDK debugger user manual I realize tha= t SourceLevelDebugPkg has to be included in target firmware image. Now in t= his case what option do I have to proceed with the debugging ? I am launchi= ng my application from shell and in the shell post codes are disabled, the = application code get stuck randomly. So far I was trying to debug with Asci= iPrints. Is there any way to use DEBUG macro to redirect debug messages fro= m UEFI driver as well as application to some serial port in this case ? > > Regards, > Arka > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel