Skip to content
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] Improve console output of LiveDevelopment errors (#1200) #1216

Open
core-ai-bot opened this issue Aug 29, 2021 · 5 comments
Open

[CLOSED] Improve console output of LiveDevelopment errors (#1200) #1216

core-ai-bot opened this issue Aug 29, 2021 · 5 comments

Comments

@core-ai-bot
Copy link
Member

Issue by DennisKehrig
Wednesday Jul 11, 2012 at 17:41 GMT
Originally opened as adobe/brackets#1232


Before:
Some arguments of method 'Debugger.setBreakpointByUrl' can't be processed

After:
Some arguments of method 'Debugger.setBreakpointByUrl' can't be processed
Parameter 'lineNumber' has wrong type. It must be 'Number'.
Parameter 'url' has wrong type. It must be 'String'.
[expandable error object]


DennisKehrig included the following code: https://github.com/adobe/brackets/pull/1232/commits

@core-ai-bot
Copy link
Member Author

Comment by DennisKehrig
Wednesday Jul 11, 2012 at 17:43 GMT


See #1200

@core-ai-bot
Copy link
Member Author

Comment by gruehle
Wednesday Jul 11, 2012 at 21:49 GMT


Thanks! Merging.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Wednesday Jul 11, 2012 at 23:44 GMT


Oops, it looks like this violates #1096 though. @DennisKehrig, are you planning any more work in this file? If so, we could wait and roll up the fix into a later pull request, instead of making a whole commit just for this one-line change...

@core-ai-bot
Copy link
Member Author

Comment by DennisKehrig
Thursday Jul 12, 2012 at 03:22 GMT


@peterflynn No, not right now... I just went ahead and added another pull request.

I'm surprised this isn't mentioned in the Coding Conventions. Is it mentioned somewhere else?
I noticed some discussion about $.each vs. Array.forEach, too - ideally I'd like to find information on what to use for iterating objects vs. arrays in a central place.

@core-ai-bot
Copy link
Member Author

Comment by DennisKehrig
Thursday Jul 12, 2012 at 08:24 GMT


Thanks, guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant