From dev-return-4959-archive-asf-public=cust-asf.ponee.io@royale.apache.org Wed Jun 6 19:18:48 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5F7FC180671 for ; Wed, 6 Jun 2018 19:18:48 +0200 (CEST) Received: (qmail 1979 invoked by uid 500); 6 Jun 2018 17:18:47 -0000 Mailing-List: contact dev-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list dev@royale.apache.org Received: (qmail 1968 invoked by uid 99); 6 Jun 2018 17:18:47 -0000 Received: from ui-eu-01.ponee.io (HELO localhost) (176.9.59.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2018 17:18:47 +0000 From: Josh Tynjala X-Mailer: LuaSocket 3.0-rc1 Message-ID: References: x-ponymail-agent: PonyMail Composer/0.3 To: Subject: Re: Problem with Debugger in VSCode Date: Wed, 06 Jun 2018 17:18:45 -0000 MIME-Version: 1.0 In-Reply-To: x-ponymail-sender: 18a42077ad246ac167424ee033bd7b858d9354dd Content-Type: text/plain; charset=utf-8 You might be running into this issue (Debugger will not stop at breakpoints on startup with Apache Royale): https://github.com/BowlerHatLLC/vscode-nextgenas/wiki/Common-issues#debugger-will-not-stop-at-breakpoints-on-startup-with-apache-royale It seems like VSCode can't connect with the browser's debugger protocol fast enough to register the breakpoint before the startup code has already finished running. A good way to check if you're running into this issue is to add some kind of click listener with a breakpoint. By the time you can interact with the app, the debugger should be fully connected. - Josh On 2018/06/05 19:50:40, Piotr Zarzycki wrote: > Hi Guys, > > Does anyone who is using VSCode has problem with debugging app? I've > created Hello World app and tried to debug it but debugger cannot connect > with app at all. When I hit Menu "Debug" -> "Start Debugging" - Application > has been launched, but debugger seems to be dead, no stop on breakpoints. > > My asconfig [1], launch.json [2]. I'm using JS only Nighly build of Royale > - I have just tested with build number #926. > > VSCode version: Version 1.23.1 > AS3 & MXML Engine: 0.12.0 > > Anyone experience the same ? Or can check whether have the same problem? > > [1] https://paste.apache.org/ulBB > [2] https://paste.apache.org/g8I5 > > Thanks, > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > * >