Failed To Start Debug Session Error 3
CommunitiesAVR FreaksAtmel SMART ARM-based MCUsInternet of ThingsCapacitive TouchProjectsVendorsWiki You are hereHome » Communities » AVR Freaks » Forums » AVR Microcontrollers » AVR XMEGA » AVR Studio 5 - Unable to start debug session Main menu mobile Home Communities Forums Projects Vendors Wiki Search My summary Privacy Contact Site Use Terms Cookies Communities Forums Projects Vendors WIKI AVR Studio 5 - Unable to start debug session Log in or register to post comments Go To Last Post 6 posts / 0 new Author Message pfranck Level: New Member Joined: Sat. Jan 14, 2012 Posts: 10 View posts #1 Posted by pfranck: Fri. Feb 3, 2012 - 05:55 PM Fivestar widget 12345Total votes: 0 I'm using an AVR XMEGA 256A3, connecting to it on a PDI connection with a JTAGIce MKii. I can go into AVR programming and see the lock and fuse bits, but when i try to run a project (just a simple new project with an infinite while loop created for the target platform), i get an error dialog. Also, a bunch of messages into 'Output'. There's nothing wrong with the MKii or the environment, I have used it on other boards. Would be greatly appreciated if someone could point me in the right direction on this one. Dialog Quote: AVR Studio was unable to start your debug session. Please verify that the debugger is correctly attached to the target and that target power has been switched on. Also verify that the correct device and interface settings have been specified in the project.
Timestamp: 2012-02-03 09:41:07.562 Severity: ERROR ComponentId: 20100 StatusCode: 0 TCF command: Processes:launch failed: Code:131107 ,Service:Processes ,Message from peer:setParameter failed: An unknown emulator error occured. Output Quote:# Error terminating session: Attempted write to detached USB device. 16:44:41.507: [ERROR] TCF command: Tool:tearDownTool failed: Code:1 ,Service:Tool ,Message from peer:Attempted write to detached USB device. # Attempted write to detached USB device. 16:44:40.416: [ERROR] TCF command: Processes:launch failed: Code:1 ,Service: ,Message from peer:Unexpected JTAG ID 0x7974c03f (expected 0x0984203f) 16:46:26.609: [ERROR] TCF command: Device:startSession failed: Code:131118 ,Service: ,Message from peer:Got er- Cannot Debug Summary: Cannot Debug Status: RESOLVED FIXED Product: Atmel Studio 6 Component: Atmel Studio 6.1 Version: unspecified Platform: Other Standalone Importance: normal priority major (vote) TargetMilestone: --- Assigned To: Lars Even Almås URL: Keywords: Dependson: Blocks: Show dependency tree /graph Reported: 2013-05-29 16:23 CEST by Steven Collins Modified: 2013-08-29 15:47 CEST (History) CC List: 1 user (show) meolsen See Also: Public Description: Development Branch: Whiteboard: Attachments Add an attachment (proposed patch, testcase, etc.) http://www.avrfreaks.net/forum/avr-studio-5-unable-start-debug-session-0 Note You need to log in before you can comment on or make changes to this bug. Description Steven Collins 2013-05-29 16:23:29 CEST Before upgrading to Atmel Studio 6.1 my debugger worked. My debugger is a JTAGICE3 Note: my fuses are programmed properly. However the backend agent states they are not along with it saying several unknown properties. When http://asf.atmel.com/bugzilla/show_bug.cgi?id=3116 I try to debug i get the following message: Launch Failed Failed to launch Program Error: Failed to start debugging session. in the output of the backend agent i get: 02 06 30 977: Unknown property SwdClockpassed to jtagice3 setProperties() 02 06 30 977: Unknown property IspClockpassed to jtagice3 setProperties() 02 06 30 977: Unknown property PdiClockpassed to jtagice3 setProperties() 02 06 30 977: Unknown property AWireMaxBaudpassed to jtagice3 setProperties() 02 06 30 977: Unknown property ProjectFolderpassed to jtagice3 setProperties() 02 06 30 977: Unknown property JlinkConfigFilepassed to jtagice3 setProperties() bytes sent is 0 02 06 43 612: dbg Timed out waiting for a break event 02 06 43 930: pro OCD is not enabled - set the OCDEN fuse first. Debugger command Reset failed. 02 06 43 933: error terminating debug session while trying to Error is OCD is not enabled - set the OCDEN fuse first. Debugger command Reset failed. 02 06 43 939: dbg ProcessesService::launch() failed: Failed to start debugging session. 02 06 57 120: Unknown property SwdClockpassed to jtagice3 setProperties() 02 06 57 120: Unknown pr
Technical FAQ FAQs: General Support Q&A Pre - Sales Q&A Installation and Configuration Q&A Debugger related Q&A Working with PhpED Q&A Database related Q&A PHP Debugger: Install debugger module Run debug session Setup remote debugging Working with Breakpoints PHP Debugger troubleshooting Php http://www.nusphere.com/kb/technicalfaq/faq_dbg_related.htm debugger install errors Php debugger errors Troubleshooting php debugger communications Troubleshooting php debugger communications with http://forum.nusphere.com/failed-to-start-debug-phped-4-6-t4040.html ssh Failed to connect to the client address Connection to the client ... not allowed PHP Debugger howto Debug php files that don't have .php extension Set project mapping for debugging HowTO: Code Completion for php SPL, DOM and PDO (PHP v5) Use a php script for editing Setup project with scripts located out of the web tree Setup project properties failed to in PhpED Install PEAR library TIPS: PhpED and Sourcesafe SVN (SubVersion) and PhpED Type hints Chinese, Japanese and other "wide" characters Some useful scripts for PhpED WAMP and debugger module issue Installation and Configuration Q&AWorking with PhpED Q&ALast updated: Sat, 13 Jul 2013 Debugger related Q&A 1. Does phped support debugging under Apache, NginX or IIS? Certainly it does. PhpED supports debugging php scripts with any web server running php under Linux, FreeBSD, Solaris, Mac failed to start OSX, Windows and many other supported platforms. All you need is debugger module installed on the server. See HOWTO: install debugger module for further details on how to install debugger module. 2. FAQ: How to run PHP debugger? First of all, you need NuSphere PhpED installed on your development machine. Then install php debugger on your server. Then you may follow one of the ways described here 3. I have installed debugger and NuSphere PhpED but debugger fails to start It's easier to run Project Settings Wizard in PhpED to troubleshoot debugger problems. Click [Wizard] button on the bottom of Project Properties dialog and follow its instructions. Should you encounter a problem that you can't solve, you may want to contact support and provide screenshots of all the wizard pages. But if you want to check without the Wizard, read PHP Debugger Errors and troubleshooting 4. As I see debugger uses DBGSESSID. What is its syntax? Indeed, debugger triggers on DBGSESSID variable that uses the following syntax: DBGSESSID=nnn[@host][:port][;{flags}] where nnn - is session ID (any positive number or zero) NOTE: negative value stops debug session and drops cookie host - is a host name or IP address of the machine where your run the IDE. You may want to use "clienthost" which is a keyword; in this case debugger will look for client IP address in
2007 12:09 am I am running: PhpED: Version 4.6.3 (Build 4635) System: Windows Vista Business Apache: 2.2.3 PHP: 5.2.0 I copied php_dbg.dll-5.2.x from my Phped installation, C:\phped\debugger\server\Win32\x86\, to my php ext directory (C:\php\ext) I setup php.ini as follows: (any line with zend has been commented out) extension=php_dbg.dll-5.2.x [debugger] debugger.enabled=on debugger.profiler_enabled=on debugger.hosts_allow=localhost debugger.hosts_deny=ALL debugger.ports=7869, 10000/16 I get the following output in php info which indicates degguer is installed: DBG php debugger, version 3.1.9, Copyright 2001, 2006 Dmitri Dmitrienko, http://www.nusphere.com/dbg But when I select "Run in Debugger" option in PhpED, I get the following error: "Failed to start debug session (error:2)Please make sure that debugger module is installed for locally running php" I see no module load errors in apache error logs. Any ideas, anyone? anno Veteran Joined: 06 Jun 2007 Posts: 289 Location: Vancouver, Canada Posted: Fri Oct 12, 2007 5:20 pm Your version 4.6.3 is a bit old. I do not know how well it works in Vista When I first started using PhpEd, I could not get the debugger to work until I specified the full path to the DBG module. The following setting currently works 100% for me (Windows XP, IIS, and PhpEd 5.0.1): Code: zend_extension_ts=C:\PHP\Ext\php_dbg.dll-5.2.x Also worth considering, is running the DBG Wizard. It may just provide the clues you need! See http://www.nusphere.com/products/dbg_wizard_download.htm for more information. Good luck _________________ dmitri Site Admin Joined: 13 Jul 2003 Posts: 7748 Posted: Sun Oct 14, 2007 10:00 pm try with external browser and check what it shows. _________________The PHP IDE team Similar Problem reneuend Joined: 09 Nov 2007 Posts: 2 Location: Cincinnati Posted: Fri Nov 09, 2007 12:06 am I'm getting the same problem using version 4.6. I have XP with Apache 2.2.6 and PHP5.2.4. I installed the dbg tool and received the following error message: Failed to run DBG session Reason: client ip address [(null)] lookup failed Does anyone know where I need to set the client IP address to make thi