So far no one has said anything about using the debugger. Does that mean everything is great and works on all platforms?
So far no one has said anything about using the debugger. Does that mean everything is great and works on all platforms?Can't speak for anyone else, but personally I can't try it on anything nontrivial until a bunch of libraries I depend on have published 0.18-compatible versions.
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/0c88dfc2-658b-4f73-9baf-15781c2dc4ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Richard, I assume you mean "I can't try it on work stuff until a bunch ..." because I know you have an example from the workshop you ran that works with the debugger. I think it's totally possible to get decent experiential data as things stand, so read this post as, "hey, can we try to get that data?"
So far no one has said anything about using the debugger. Does that mean everything is great and works on all platforms?Can you share some experiences trying it out? Anything it makes sense to discuss?
1. It doesn't pause the event stream when the debugger is open. It would be helpful to pause the game.
2. No filtering or grouping of similar events:In a game setting I get a tick event every 16ms, this overloads the UI very quickly.One way to avoid that would be to enable msg filtering and/or debouncing/throttlingAnother way might be to group similar msgs.
Addressing these issues might also help app developers that make use of elm controlled animations.
Not sure if this is the canonical usage, but I just compiled an educational 0.18 app using --debug, opened the index.html in Chrome, and clicked the "Explore History" pane in the lower-left. One oddity I noticed right away is there seems to be some encoding issues (see screenshot). Clicking "Export" in Chrome gave me a history-1.json file that I was able to import successfully. Really cool!
For what it's worth, Safari doesn't seem to know what to do with a .json file (it just shows the data in the browser).
1. Clicking on a message and then on resume resumes the app from the end of the messages rather then the selected message. This is both unexpected (for people who played with the old debugger) and potentially less useful (I might want to explore a different execution path)
2. The messages sidebar is not resizable and with a long enough Message tag, I found myself wanting to drag to make it a little bigger.
3. Having a Time.every based subscription in the app, make the interaction with the debugger troublesome. It would be awesome to have a play-pause-resume style of interacting with the app.
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/72e27f21-96ae-42d9-8b22-899b79be1f4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can't try it as well. I'd like to make installations of such things in a manageable way, but there is currently no npm package.
On Tue, Oct 18, 2016 at 2:30 AM Mike Clark <mi...@pragmaticstudio.com> wrote:
Sure thing - I've reported the details in a new issue. Hope that helps!--
On Monday, October 17, 2016 at 4:26:54 PM UTC-6, Evan Czaplicki wrote:Not sure if this is the canonical usage, but I just compiled an educational 0.18 app using --debug, opened the index.html in Chrome, and clicked the "Explore History" pane in the lower-left. One oddity I noticed right away is there seems to be some encoding issues (see screenshot). Clicking "Export" in Chrome gave me a history-1.json file that I was able to import successfully. Really cool!What OS and browser are you seeing those encoding artifacts in? They should be little unicode triangles.Can you report more info here? With a title like "[alpha] unicode triangles do not render properly on ..."For what it's worth, Safari doesn't seem to know what to do with a .json file (it just shows the data in the browser).Yeah, I noticed that as well. It appears that there is no way to force Safari to do a download right now. If anyone has forced Safari to do the right thing, I'm interested in how you did it!
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/72e27f21-96ae-42d9-8b22-899b79be1f4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Best regards,Fedor Nezhivoi
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CAL91TZhfiZX5cCRQgKJkYJ3uvuREJ%3DOLmqNZtecj83M0DFQfXQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/b755063a-0c8f-4054-9200-51bae53f0879%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/67c92c67-836c-4f9f-aad4-8b6b9525b800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
https://github.com/elm-lang/elm-make/issues/122
It is being caused by having Json.Encode.null
in init
I just got the chance to try the debugger on my app for the first time. Thanks so much for doing all of this super cool work. It's very exciting!
I echo the feedback below about the importance of making the content of the app messages readable. Right now I've got to "inspect element" on the messages, and look at their HTML in order to see what values a message actually contains. And a resizable model view would be very nice as well.
Here's a hangup I had while getting going:My project uses Webpack as a bundler, and I was calling `Elm.Main.embed(..)` to mount my application. It looks like `embed` has been entirely removed when --debug is enabled. I had to switch over to `Elm.Main.fullscreen` to make it work.
Is this because you don't want multiple instances of the debugger on the page if there are multiple Elm apps mounted? That might be a big bummer to those who are mounting Elm apps inside of their React components.
A feature idea:I had to turn off elm-hot in order to get the debugger to work, as well. (Which makes sense, hot-swapping code could make the history inaccurate)But it'd be incredibly neat to have some kind of webpack plugin that, when the Elm code is changed, automatically exports the history (to memory?), reloads the page, and imports the history again, so that I can keep working from the same point. Sometimes I'll be working on markup or styling somewhere deep in the app that's not content-addressable, and reloading to the same state would save a lot of time.It's possible to do that manually right now by clicking export / import, but would be considerably more helpful during development if that could happen automatically.
Again, very cool! And thanks.
On Monday, October 17, 2016 at 12:26:12 PM UTC-6, Evan Czaplicki wrote:So far no one has said anything about using the debugger. Does that mean everything is great and works on all platforms?Can you share some experiences trying it out? Anything it makes sense to discuss?For example, I'd like to make the following two improvements:
- Somewhere show the index of the message.
- Have the expando model deal with "line is too long" data more intelligently.
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/9109bb55-fee1-4aac-aa0c-e98b4c2457bd%40googlegroups.com.
Yep! It’s working famously. Thanks for the quick response!
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/582501384723670001553e96%40polymail.io.
Great, thanks for trying it :)And definitely share the message visibility issue in https://github.com/elm-lang/elm-reactor/issues I understand it, but I think it'll help to see it as well.
On Thu, Nov 10, 2016 at 3:23 PM, Murphy Randle <murphy...@gmail.com> wrote:
Yep! It’s working famously. Thanks for the quick response!
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/1b8f021f-704b-4783-b534-39342feefcf7%40googlegroups.com.