GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — debugger: improve clearBreakpoint error and docs by julianduque · Pull Request #175 · nodejs/node

Conversation

@julianduque

@julianduque julianduque commented Dec 16, 2014

Copy link
Copy Markdown
Contributor

Currently clearBreakpoint error is confusing, it says script not found when there is no breakpoint, also
documentation doesn't include signature for clearBreakpoint.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bnoordhuis

bnoordhuis commented Dec 18, 2014

Copy link
Copy Markdown
Member

R=@bajtos?

@julianduque Can you wrap the documentation at 80 columns? Thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@julianduque

julianduque commented Dec 18, 2014

Copy link
Copy Markdown
Contributor Author

@bnoordhuis doc fixed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bajtos
bajtos reviewed Dec 19, 2014
View reviewed changes
Comment thread lib/_debugger.js Outdated

@bajtos bajtos Dec 19, 2014

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L1476-L1478 can be IMO simplified to for (var id in scripts).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bajtos

bajtos commented Dec 19, 2014

Copy link
Copy Markdown
Contributor

Quite a lot of extra complexity needed to print a correct message, but I suppose the UX gain is worth it.

The code looks correct to me, I did not run it myself though.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@julianduque

julianduque commented Dec 19, 2014

Copy link
Copy Markdown
Contributor Author

@bajtos fixed doc and simplified code with your suggestions

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@julianduque
debugger: improve clearBreakpoint error and docs
f21911b
Currently clearBreakpoint error is confusing, it says
Script not found when there is no breakpoint, also
documentation doesn't include signature for clearBreakpoint
@bajtos

bajtos commented Dec 19, 2014

Copy link
Copy Markdown
Contributor

@bnoordhuis AFAICT, this patch can be landed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Dec 19, 2014

Copy link
Copy Markdown
Member

Cheers, waiting for the CI to finish.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis pushed a commit that referenced this pull request Dec 19, 2014
@julianduque @bnoordhuis
debugger: improve clearBreakpoint error and docs
c4a308d
Currently clearBreakpoint error is confusing, it says "Script not found"
when there is no breakpoint, also documentation doesn't include
signature for clearBreakpoint.

PR-URL: #175
Reviewed-By: Miroslav Bajtoš <[email protected]>
@bnoordhuis

bnoordhuis commented Dec 19, 2014

Copy link
Copy Markdown
Member

CI looks healthy. Thanks both of you, landed in c4a308d.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis bnoordhuis closed this Dec 19, 2014
@rvagg rvagg mentioned this pull request Jan 3, 2015
governance: Add new Collaborators #234
Closed
kunalspathak referenced this pull request in nodejs/node-chakracore Jan 22, 2016
@kunalspathak
chakrashim: Add 'Debug' object only when needed
d69e2c8
If `--debug` is specified, the in-built 'Debug' object is exposed by
chakra.dll that has some [APIs](https://msdn.microsoft.com/en-us/library/bs12a9wf(v=vs.94).aspx) that node-uwp relies on. With my change in #155,
I had overriden 'Debug' global object and hence certain Debug APIs stopped
working with `--debug` switch. The original intent of adding `Debug` object
was that `util.js` fetches this object in Debugging context. In absense of
`--debug` flag this object is unavailable and hence `util.js` throws TypeError.

The fix is to expose `Debug` object only in the DebugContext (called from
`util.js`). If ran with `--debug`, by the time `utill.js` code executes, engine
would have already expose in-built `Debug` object and we won't overwrite it.
Without `--debug` we would override `Debug` object.

Thanks @agarwal-sandeep for helping debugging this issue.

Fixes : #175
boingoing pushed a commit to boingoing/node that referenced this pull request Apr 6, 2017
@jasongin
Typedef char16_t for older MSVC (nodejs#175)
1fc1181
This was referenced Jul 20, 2020
[Snyk] Security upgrade libnpx from 9.7.1 to 10.2.4 saurabharch/node#8
Open
[Snyk] Security upgrade libnpx from 9.7.1 to 10.2.4 KamilPolivka/node#7
Open
[Snyk] Security upgrade libnpx from 9.2.3 to 10.2.4 erdun/node#24
Open
[Snyk] Security upgrade libnpx from 9.2.3 to 10.2.4 pmq20/node#24
Open
[Snyk] Security upgrade libnpx from 9.6.0 to 10.2.4 saeedahassan/node#21
Open
[Snyk] Security upgrade libnpx from 9.6.0 to 10.2.4 olegnn/node#22
Open
@snyk-bot snyk-bot mentioned this pull request Aug 2, 2020
[Snyk] Security upgrade is-my-json-valid from 2.16.0 to 2.20.3 mkg20001/node#23
Open
This was referenced Dec 1, 2020
[Snyk] Security upgrade libnpx from 9.7.1 to 10.2.4 saurabharch/node#12
Open
[Snyk] Security upgrade libnpx from 9.7.1 to 10.2.4 KamilPolivka/node#11
Open
[Snyk] Fix for 1 vulnerabilities erdun/node#29
Open
[Snyk] Fix for 1 vulnerabilities saeedahassan/node#24
Open
[Snyk] Fix for 1 vulnerabilities olegnn/node#25
Open
This was referenced May 26, 2021
[Snyk] Security upgrade eslint-plugin-markdown from 1.0.2 to 2.2.0 olegnn/node#29
Open
[Snyk] Security upgrade eslint-plugin-markdown from 1.0.0-beta.7 to 2.2.0 erdun/node#34
Open
@Verdinjoshua26 Verdinjoshua26 mentioned this pull request Sep 26, 2022
[Snyk] Fix for 9 vulnerabilities Verdinjoshua26/node#24
Open
This was referenced Sep 26, 2022
[Snyk] Fix for 2 vulnerabilities wedataintelligence/node#46
Open
[Snyk] Fix for 11 vulnerabilities vaibhavb/node#35
Open
@RoeeOren RoeeOren mentioned this pull request Oct 5, 2022
[Snyk] Fix for 9 vulnerabilities RoeeOren/node#32
Open
@bumplzz69 bumplzz69 mentioned this pull request Oct 5, 2022
[Snyk] Fix for 11 vulnerabilities bumplzz69/node#39
Open
@snyk-bot snyk-bot mentioned this pull request Oct 9, 2022
[Snyk] Fix for 2 vulnerabilities Rednickle/node-1#62
Open
@molllyn1 molllyn1 mentioned this pull request Jun 20, 2023
[Snyk] Fix for 1 vulnerabilities molllyn1/node#80
Open
@awaisab172 awaisab172 mentioned this pull request Jun 20, 2023
[Snyk] Fix for 1 vulnerabilities awaisab172/node#45
Open
@KamilPolivka KamilPolivka mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities KamilPolivka/node#29
Open
@saurabharch saurabharch mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities saurabharch/node#32
Open
@jhudaz jhudaz mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities jhudaz/node#52
Open
@saeedahassan saeedahassan mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities saeedahassan/node#44
Open
@Qdigital Qdigital mentioned this pull request Jun 21, 2023
[Snyk] Fix for 1 vulnerabilities Qdigital/node#41
Open
@AyushG3112 AyushG3112 mentioned this pull request Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities AyushG3112/node#32
Open
@baophucct baophucct mentioned this pull request Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities baophucct/node#35
Open
@adamlaska adamlaska mentioned this pull request Jun 23, 2023
[Snyk] Fix for 1 vulnerabilities adamlaska/node#110
Open
@AyushG3112 AyushG3112 mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities AyushG3112/node#36
Open
@thakursachin467 thakursachin467 mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities thakursachin467/node#31
Open
@erdun erdun mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities erdun/node#54
Open
@olegnn olegnn mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities olegnn/node#48
Open
@GregorFendt GregorFendt mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities GregorFendt/node#29
Open
@KamilPolivka KamilPolivka mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities KamilPolivka/node#31
Open
@bumplzz69 bumplzz69 mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities bumplzz69/node#57
Open
@saurabharch saurabharch mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities saurabharch/node#35
Open
@Bhanditz Bhanditz mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities Bhanditz/node#36
Open
@Redwoodtj Redwoodtj mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities Redwoodtj/node#11
Open
@ajesse11x ajesse11x mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities ajesse11x/node#46
Open
eti-p-doray pushed a commit to eti-p-doray/node that referenced this pull request May 28, 2024
@mlippautz @victorgomes
Fix wanted headers to include new v8-sandbox.h header (nodejs#175)
923ef91
syg pushed a commit to syg/node that referenced this pull request Jun 20, 2024
@mlippautz @victorgomes
Fix wanted headers to include new v8-sandbox.h header (nodejs#175)
ed71761
eti-p-doray pushed a commit to eti-p-doray/node that referenced this pull request Aug 28, 2024
@mlippautz @victorgomes
Fix wanted headers to include new v8-sandbox.h header (nodejs#175)
4eda4f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@julianduque @bnoordhuis @bajtos
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.