opensourceBIM / bimvie.ws

Javascript client for Building Information Modelling, using open standards like IFC, BCF and BIMSie. Using Bootstrap, BIM Surfer, etc..
GNU Affero General Public License v3.0
172 stars 87 forks source link

how to debug javascripts in subpage? #26

Closed wen-bing closed 10 years ago

wen-bing commented 10 years ago

Hi,

I want to debug JavaScript contained in sub pages, such as project.html, 3dview.html. However those page are loaded dynamic, I cannot set breakpoints on them. Does anyone can provide some tips?

Thanks

rubendel commented 10 years ago

I've had this problem as well, haven't solved it, but one thing you can do is put "debugger;" in the JS code, it will trigger like a normal breakpoint in the browser. Of course this requires access to modify the source code.