Java: slow performance or hangups when starting debugger and stepping

Debugger performance can be affected by the following:

  • Method breakpoints will slow down debugger a lot because of the JVM design, they are expensive to evaluate. Remove method breakpoints and consider using the regular line breakpoints. To verity that you don't have any method breakpoints open .idea/workspace.xml file in the project root directory (or <project>.iws file if you are using the old project format) and look for any breakpoints inside the method_breakpoints node.
  • Watch method return values option is enabled in the Debugger Panel. Try disabling this option to improve the performance.
  • Enable alternative views for Collections classes and Enable toString()’ object view options enabled in Settings | Debugger | Data Views. If toString() methods take a long time to complete, disable this option. Note that custom toString() methods can also change the semantics of the application when running under debugger in case the code inside these methods changes the state of your application.
  • Memory tab in the debugger toolwindow. It is updated on every debugger stop, try to minimize it to improve stepping performance.
35 comments
Comment actions Permalink

this whole document does not even work

 

https://www.jetbrains.com/help/idea/running-and-debugging-typescript.html

 

the ide is loadinf main.js inadvertently and other typescript JS files inadvertently into the IDE from beneath the webpack ./// directory

 

the threads with this product and its debugging typescript are enormous

 

Still cannot get this product to properly debug and live reload typescript changes in any cohetrent functional maner after having purchaSED IT FOR 3 years steady

0
Comment actions Permalink

bottom line is this product still cannot navigate JS to TS at all

 

they technicians are nto qualifying their product on a real world application setup

 

a plain angular app running on local host does not cut it

 

try to build an app on https and run it with real worl URL

 

and you will see the logic defaults to never ending loading of main.js into the IDE and breakpoints landing in the JS file instead of the TS file

 

typescript is not debuggable with latest jetbrains webstorm

 

I have exhausted all permutations of edit configurations

 

the Angular CLI edit configuration options appears to be there for show... doesnt even debug

 

setting all kinds of urls to various folders within the debug config fails for realworld urls and webpack:///./src urls

 

 

0
Comment actions Permalink

trying to attach to a live chrome app fails too

0
Comment actions Permalink

please submit a request using the button below

0
Comment actions Permalink

i forgot that in macbook pro you must add your hostname to the /etc/hosts. it solved the freezes.

0

Please sign in to leave a comment.

Have more questions?

Submit a request