royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <piotrzarzyck...@gmail.com>
Subject Re: Problem with Debugger in VSCode
Date Thu, 07 Jun 2018 08:32:33 GMT
Hi Josh,

Unfortunately the debugger trick didn't help. It stopped debugger, but only
in index.html not in AS3 code. However If having that debugger should help
me debug just JS code that should be always something.

Thanks,
Piotr


śr., 6 cze 2018 o 19:18 Josh Tynjala <joshtynjala@apache.org> napisał(a):

> 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 <piotrzarzycki21@gmail.com> 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
> > <https://www.patreon.com/piotrzarzycki>*
> >
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message