-
Notifications
You must be signed in to change notification settings - Fork 63
debugger is broken in 0.16 #157
Comments
I suspect this is issue #145 with a different error message. (In summary, the debugger doesn't work with ports. Yet.) |
I saw the same messages in an app that doesn't use ports. That's what I was discussing in #156. |
This addresses the immediate symptom reported in elm-lang#157 and potentially in elm-lang#156.
With 0.15.1 I had plenty of stuff working fine with the debugger which isn't now. Even this trivial thing below causes the above error.
|
I have the same issue as well. |
I just put a new installer on the website that should fix this. Can you redownload it and reinstall, remove any relevant |
I am on |
The issue here was about Put differently, which of the following is the case for you?
The issue discussed here is about the first case. If your problem is like in the second case, then it is about something else. You may want to look at the issues in https://github.com/elm-lang/elm-reactor/milestones/Swapping then, and see whether you have something to add there. |
The original issue posted by OP is now fixed for me with the new distribution. tx ! |
@jvoigtlaender I see. The latter describes my case. Thank you for clearing this up. |
Built from master just now and the elm-reactor debugger is working again. Thanks @evancz ! |
Great, looks like the originally reported issue is resolved. Sorry for the trouble. We are working on a bunch of other stability improvements for the reactor, so those should be getting resolved in the next release. |
I built from master and this issue is resolved. I have issues with onscreen "reload" button though. I will file a separate issue for that. Thank you @evancz . |
not resolved for me. I used the last installer for osx and still have the error reported initially by theburningmonk :
|
@aestheticsdata Did you delete the elm-stuff ? |
ok. I've just discover what the problem was.
causes the debug error, but :
is working fine. |
I have two computers, one with osx 10.10.3 and the other with 10.10.5, on both elm 0.16 is installed. On the first one, elm-reactor causes the debug to be broken, but it works correctly on the second laptop with 10.10.5 |
How did you install Elm on those two computers? |
And was there a previous install on one of them? |
I installed eml using the installer, not npm. Maybe there was a previous install, but it is said on the official elm site that to upgrade/uninstall : "To upgrade to a newer version of Elm, run the installer again. They safely overwrite old executables so your machine is in a consistent state." |
Well, that statement is not true actually. The installers (at least on Windows, and I'm pretty sure the setup is the same on Mac OS) put new executables in new directories, and update the path environment variable to point to the new directory. Something might have gone wrong with the path updating in your case (maybe you had hand-crafted paths between the old and new install), so that an old version of the |
Had a very brief look at the Mac install maker script, and it might actually try to overwrite executables. Still, the answers to all the questions above would be relevant. |
to anwser to @rundis : yes I deleted the elm-stuff directory. |
on my two computers. Thanx. |
Hmm, no explanation for me then why |
I'm new and only installed v0.16.0 on my Windows 7 64x. Here's how I workaround: After I noticed that, in the file list page ("http://localhost:8000/"), the icon before my 'App.elm' is broken, I checked the "src" property of that I had seen the file under my elm platform folder. So I simply copy the "_reactor" folder to my project folder and done! I guess elm-reactor is supposed to silently use that shared folder for every project. However, it doesn't happen. My elm platform folder is "C:\ENV\Elm". In my system Environment Variables, there is "ELM_HOME"="C:\ENV\Elm\share". I modified it into "C:\ENV\Elm\share\reactor". Neither works. |
I get the following error when invoking the debugger in elm-reactor (elm 0.16)
(Similar to that reported in #145) When I look at debugger-implementation.js#L724, it looks like we can't assume
When I do this on my local system (MacOSX El Capitan, elm 0.16) I'm able to use elm reactor. Is it a guarantee provided by some other part of the code that |
I'm still having the original issue with OSX/NixOS and Elm Reactor 0.16.0. Neither the NixOS build nor downloadable binary from the website (md5: 1853a29ba0e6e6b4689a6df40da01b89) seems to be working. |
I have the same experience where elm-reactor doesn't show debug but elm reactor works. I'm on OSX 10.11.4 and I just installed a fresh pkg and deleted my elm-stuff directories after. EDIT: |
Just downloaded and installed 0.16 on my Mac OS X Yosemite, and Chrome 46.0.2490.86 (64-bit) and nothing is rendered (with below example) in Debug mode but works fine without debug.
In debug mode, I see the following error message in Console:
The text was updated successfully, but these errors were encountered: