Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Yes, you can --- Debugging and Tooling for Java...

Ingo Rammer
December 05, 2013

Yes, you can --- Debugging and Tooling for JavaScript (NDC London 2013)

Ingo Rammer

December 05, 2013
Tweet

More Decks by Ingo Rammer

Other Decks in Programming

Transcript

  1. Transfer-Optimisation •  Resource Combination with ASP.NET MVC •  Important: Minification

    might not be necessary for business applications --- maybe concatenation is enough 4
  2. Debugging •  Debugging Tools & Commands (console …) –  IE

    with Visual Studio –  Chrome with WebStorm –  Chrome standalone •  Debugging on mobile devices ("Remote Debugging") –  Chrome with Android –  Safari on Mac (also for PhoneGap-style apps!) •  Generally –  Reload-on-F5! (URL parameters vs. implicit state) –  Dynamic/Live editing (Chrome Workspaces) 5
  3. Console/Chrome •  Console –  console.log(), .warn(), .error() –  console.dir() – 

    console.time("xyz"),.timeEnd("xyz") –  console.group("foo"), .groupEnd("foo") –  Right mouse click -> "Filter", Preserve Log •  Timeline –  CPU –  Memory •  Angular-Addin ("AngularJS Batarang") 6
  4. Communication •  Chrome XHR Tracing –  Right click à "Export

    as HAR with Content" –  HAR-Viewer (code.google.com/p/harviewer) •  Fiddler (Windows) oder Charles (Mac) –  Can import HARs! •  PostMan for REST-Debugging 7