-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Fix Brackets Live Development Issues with Chrome OSX #230
Comments
This seems to work, but I'm hitting a crash. Try this:
Results FYI, I was already happy with the functionality of how LD was working with Chrome, so I'm not sure what your latest changes are trying to fix. Maybe try reverting commits back to this comment and work on figuring out the @try/@catch problem. |
Indeed, that is a bug created by the improper filtering of the workspace notification messages. This should be fixed with the latest update. Just needed to turn on process id caching for comparing and filtering out useless shutdown notifications. I had it working like that before, but inadvertently took it out when implementing real-time lookups thinking it was not necessary. Turns out, it is required since its the only way to ensure we only pass through the appropriate shutdown notification(s) for LiveBrowser session cleanup. Try it and let me know... |
the latest changes implement the notes as described in adobe/brackets#5569 (comment) |
That fixed the crash I described, but I found a slightly different one:
Results |
That seems to fix it. |
I may have to do a minor update to |
I took a closer look at the compile problem with |
Yes. Doing a catch all in C++ will most likely work with any version of XCode; especially since we're just reporting |
Yes, I think that's a good way to go (for now, anyway). |
Ok. Let me know if you find anything else while testing. I think we're very close. :) |
Found a bug.
You can continue...
|
@equiet I cannot replicate this error. Are you using the corresponding patch (see adobe/brackets#5569) as well? |
Yes, I am.
It is very unpredictable and happens only for the first time when Brackets is launched. Otherwise you correctly see "Live preview was cancelled because the browser's development tools were opened". |
@fungl164 Awesome, doesn't crash anymore. However, I found a new way how to crash Brackets:
It's not a big issue though, since these steps are quite unlikely to be followed. Generally it's much more stable, thanks. |
@equiet try the latest update to adobe/brackets#5569 and let me know. |
@fungl164 That fixed it. One more issue, though:
|
@equiet Hmmm...interesting. I don't experience that. After step 4, I always get a properly working Live Preview on a new tab. |
Nope, deleting the cache didn't help. |
|
Yes, sure. |
Great! Thnxs for the feedback... |
@fungl164 Sorry for not working on this for the last week -- we were closing out Sprint 33. I'd like to get this in to Sprint 34. Are you going to be available to work on this for the next week or 2? If so, I want to merge this into master by early next week to get a lot of people using it, then we can react to any bugs that are found. Let me know. |
Cool. We had our Sprint 34 Planning Meeting today and we're going to try to get this in. I'll make a final pass through the code in the next day or so looking for anything that needs to be cleaned up. Go ahead and push changes for any last cleanup you want to do. One other person from the team is going to do some testing. When we're happy with the code, we'll need to squash all of the commits into a single commit and then merge into master. After that, I'll let you know if any bugs are found. |
The interaction with different instances of Chrome is working great! I found this crasher when try to use Dev Tools:
Process: Brackets [16391] Date/Time: 2013-11-01 11:55:46.388 -0700 Interval Since Last Report: 273213 sec Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGBUS) VM Regions Near 0: Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread |
I have a different steps to repro the same crasher:
Process: Brackets [28084] Date/Time: 2013-11-01 14:01:24.423 -0700 Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGBUS) VM Regions Near 0: Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread |
Monday Oct 21, 2013 at 16:25 GMT
Originally opened as adobe#359
This provides better real-time detection/separation of Chrome debug sessions, as well as better connectivity + window/tab management from within Brackets.
This requires brackets pull request adobe/brackets#5569
fungl164 included the following code: https://github.com/adobe/brackets-shell/pull/359/commits
The text was updated successfully, but these errors were encountered: