How to detect IE11?

When I want to detect IE I use this code: function getInternetExplorerVersion() { var rv = -1; if (navigator.appName == ‘Microsoft Internet Explorer’) { var ua = navigator.userAgent; var re = new RegExp(“MSIE ([0-9]{1,}[\.0-9]{0,})”); if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 ); } return rv; } function checkVersion() { var msg = “You’re not … Read more

Break when a value changes using the Visual Studio debugger

Is there a way to place a watch on variable and only have Visual Studio break when that value changes? It would make it so much easier to find tricky state issues. Can this be done? Breakpoint conditions still need a breakpoint set, and I’d rather set a watch and let Visual Studio set the … Read more

Accessing console and devtools of extension’s background.js

I just started out with Google Chrome extensions and I can’t seem to log to console from my background js. When an error occurs (because of a syntax error, for example), I can’t find any error messages either. My manifest file: { “name”: “My First Extension”, “version”: “1.0”, “manifest_version”: 2, “description”: “The first extension that … Read more

Visual Studio refuses to forget breakpoints?

Visual Studio remembers breakpoints from previous debugging sessions, which is awesome. However, when I’m debugging, and I clear one of these “old” breakpoints by clicking on it, it’s only temporarily deleted. What I mean is the next time I debug, the breakpoint that I thought I removed is back. This is super annoying–is there a … Read more

Is there a C++ gdb GUI for Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 5 years ago. Improve this question Briefly: Does anyone know of a … Read more