Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Select the related Run Configuration from
ExplorViz-Landscape.launch, and run it via
JS Code Logging
Use debug statements, e.g.,
this.debug("my log message", myToBeLoggedObject); to log any information from your code. You must enable the logging in Google Chrome by passing the logging targets to the debugger. Open the Chrome Dev Tools (Ctrl + Shift + J in Windows) and insert one of the following commands into the console:
debug.enable('route:visualization');: Google Chrome will only log messages from the visualization route.
debug.enable('route:*, component:landscape-rendering');: Google Chrome will log messages from any route and the landscape-rendering component.
debug.enable('*');: Google Chrome will log executed log statement
JS Code Debugging
- Open your Google Chrome Dev Tools (Ctrl + Shift + J in Windows)
- Add the
debugger;statement to any reachable code segment
- If the execution reaches the
debugger;statement, it will pause and highlight the break point in your dev tools. Furthermore you are able to see variables inside of this scope in the Scope section.
The screenshot below shows an exemplary execution: