January 9th, 2014
0 reactions

Code Debugging Content in Community

A few days ago, we called out some of the great debugging topics on the Microsoft Developer Network (MSDN) Library. Here are some excellent resources outside of the MSDN Library (in no particular order except the last one):

If you know of additional resources, add them to the comments (or send them to me, [email protected]) and I will update the article. Thanks!

Author

0 comments

Discussion is closed.

'; block.insertAdjacentElement('beforebegin', codeheader); let button = codeheader.querySelector('.copy-button'); button.addEventListener("click", async () => { let blockToCopy = block; await copyCode(blockToCopy, button); }); } }); async function copyCode(blockToCopy, button) { let code = blockToCopy.querySelector("code"); let text = ''; if (code) { text = code.innerText; } else { text = blockToCopy.innerText; } try { await navigator.clipboard.writeText(text); } catch (err) { console.error('Failed to copy:', err); } button.innerText = "Copied"; setTimeout(() => { button.innerHTML = '' + svgCodeIcon + ' Copy'; }, 1400); }