GithubHelp home page GithubHelp logo

Comments (10)

SyMind avatar SyMind commented on July 3, 2024 1

@pushkargupta9807 I am following up on this issue.

from rspack.

github-actions avatar github-actions commented on July 3, 2024

Hello @pushkargupta9807, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction will be closed if no activities in 14 days.

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on July 3, 2024

@LingyuCoder @h-a-n-a
here is the repro repo for this issue: https://github.com/pushkargupta9807/rspack-repro-latest

yarn
yarn dev:rspack // for rspack serve

Intructions:

  1. yarn dev:rspack with devTools: "eval-cheap-source-map"
    Screenshot 2024-06-14 at 3 10 34 PM
  2. yarn dev:webpack with with devTools: "eval-cheap-source-map"
    Screenshot 2024-06-14 at 3 11 43 PM

you can clearly repro the above and see the difference in the way source files are loaded with this devTools option with eval.
This is the reason for I frequently have my whole tab freeze / crash while I try to do anything (ex: nav through the stack trace) in the sources tab when a breakpoint is hit. This is very bad in large repo and makes impossible to debug .

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on July 3, 2024

with the "eval" optimization removed from the devtools, it works fine with rspack :
yarn dev:rspack with devTools: "cheap-source-map"
Screenshot 2024-06-14 at 3 14 28 PM

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on July 3, 2024

a gentle follow up, @SyMind hopefully you are able to repro the issue. Thanks

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on July 3, 2024

hello, @SyMind @h-a-n-a just wanted to check if any updates on this issue. Please let me know if you are not able to repro or any other clarification. This is a pain point for all the developers and it would be great to have it resolved. Thanks

from rspack.

SyMind avatar SyMind commented on July 3, 2024

@pushkargupta9807 I fixed it. Please try again.

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on July 3, 2024

Thank you @SyMind . Let me try and get back.

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on July 3, 2024

@SyMind I tried with the Rspack 0.7.6-canary-f272bd8-20240625122346 and Rspack 0.7.5 versions - however the issue still remains. Is the fixed merged in these versions?

Still do not see the file tree structure with "eval-cheap-module-source-map":
"eval-cheap-module-source-map"
Screenshot 2024-06-25 at 2 03 15 PM

vs without "eval"
image

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on July 3, 2024

@SyMind just a follow up, I do not think the issue is fixed. Can you please check. Thanks

from rspack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.