豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

fix: limit stack traces to 50 lines#923

Merged
OrKoN merged 1 commit intomainfrom
limit-stack-traces
Feb 9, 2026
Merged

fix: limit stack traces to 50 lines#923
OrKoN merged 1 commit intomainfrom
limit-stack-traces

Conversation

@szuend
Copy link
Copy Markdown
Contributor

@szuend szuend commented Feb 9, 2026

This PR refactors the stack trace formatting logic a bit: We split the formatStackTrace function into 2: One for the top-level stack trace and the rest for the recursive ones. We also return lines separately so we can slice the result later.

@szuend szuend requested a review from OrKoN February 9, 2026 12:01
Copy link
Copy Markdown
Collaborator

@OrKoN OrKoN left a comment

Choose a reason for hiding this comment

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

Thanks!

@OrKoN OrKoN enabled auto-merge February 9, 2026 12:04
@OrKoN OrKoN added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit caea23a Feb 9, 2026
20 checks passed
@OrKoN OrKoN deleted the limit-stack-traces branch February 9, 2026 12:11
github-merge-queue bot pushed a commit that referenced this pull request Feb 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.17.0](chrome-devtools-mcp-v0.16.0...chrome-devtools-mcp-v0.17.0)
(2026-02-10)


### 🎉 Features

* include Error.cause chain for uncaught errors and logged Errors
([#906](#906))
([05b01ec](05b01ec))
* Integrate CrUX data into performance trace summaries
([#733](#733))
([b747f9d](b747f9d))
* show message and stack trace in details when console.log'ging Error
objects
([#902](#902))
([ffa00da](ffa00da))


### 🛠️ Fixes

* console formatter hides frames from ignored scripts
([#927](#927))
([8e2380b](8e2380b))
* limit stack traces to 50 lines
([#923](#923))
([caea23a](caea23a))


### 📄 Documentation

* add macOS Web Bluetooth troubleshooting note
([#930](#930))
([3c9528b](3c9528b)),
closes
[#917](#917)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
wolfib pushed a commit to wolfib/chrome-devtools-mcp that referenced this pull request Mar 10, 2026
This PR refactors the stack trace formatting logic a bit: We split the
`formatStackTrace` function into 2: One for the top-level stack trace
and the rest for the recursive ones. We also return lines separately so
we can slice the result later.
wolfib pushed a commit to wolfib/chrome-devtools-mcp that referenced this pull request Mar 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.17.0](ChromeDevTools/chrome-devtools-mcp@chrome-devtools-mcp-v0.16.0...chrome-devtools-mcp-v0.17.0)
(2026-02-10)


### 🎉 Features

* include Error.cause chain for uncaught errors and logged Errors
([ChromeDevTools#906](ChromeDevTools#906))
([05b01ec](ChromeDevTools@05b01ec))
* Integrate CrUX data into performance trace summaries
([ChromeDevTools#733](ChromeDevTools#733))
([b747f9d](ChromeDevTools@b747f9d))
* show message and stack trace in details when console.log'ging Error
objects
([ChromeDevTools#902](ChromeDevTools#902))
([ffa00da](ChromeDevTools@ffa00da))


### 🛠️ Fixes

* console formatter hides frames from ignored scripts
([ChromeDevTools#927](ChromeDevTools#927))
([8e2380b](ChromeDevTools@8e2380b))
* limit stack traces to 50 lines
([ChromeDevTools#923](ChromeDevTools#923))
([caea23a](ChromeDevTools@caea23a))


### 📄 Documentation

* add macOS Web Bluetooth troubleshooting note
([ChromeDevTools#930](ChromeDevTools#930))
([3c9528b](ChromeDevTools@3c9528b)),
closes
[ChromeDevTools#917](ChromeDevTools#917)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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

Successfully merging this pull request may close these issues.

2 participants