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

In Visual Studio C++, what are the memory allocation representations?

In Visual Studio, we’ve all had “baadf00d”, have seen seen “CC” and “CD” when inspecting variables in the debugger in C++ during run-time. From what I understand, “CC” is in DEBUG mode only to indicate when a memory has been new() or alloc() and unitilialized. While “CD” represents delete’d or free’d memory. I’ve only seen … Read more

Is it possible to “decompile” a Windows .exe? Or at least view the Assembly?

A friend of mine downloaded some malware from Facebook, and I’m curious to see what it does without infecting myself. I know that you can’t really decompile an .exe, but can I at least view it in Assembly or attach a debugger? Edit to say it is not a .NET executable, no CLI header. 16 … Read more

Debugging iframes with Chrome developer tools

I’d like to use the Chrome developer console to look at variables and DOM elements in my app, but the app exists inside an iframe (since it’s an OpenSocial app). So the situation is: <containing site> <iframe id=’foo’ src=”https://stackoverflow.com/questions/3275816/different domain”> … my app … </iframe> </containing site> Is there any way to access things happening … Read more