---
title: "Discussion on \"Detecting a debugger without timing it\" | Hashnode"
description: "Discussion on \"Detecting a debugger without timing it\". There is a slower, surer way to catch a debugger than timing how long your code takes to run: just ask. Windows and the .NET runtime both keep a flag that says a debugger is attached to this process,"
url: "https://hashnode.com/posts/detecting-a-debugger-without-timing-it/6b146f3cfcb911d988737205"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Detecting a debugger without timing it](https://delta1labs.hashnode.dev/detecting-a-debugger-without-timing-it?utm_source=hashnode&utm_medium=feed)

There is a slower, surer way to catch a debugger than timing how long your code takes to run: just ask. Windows and the .NET runtime both keep a flag that says a debugger is attached to this process,

1h ago · 9 min read · delta1labs.hashnode.dev  
Read the article

-   [#nebulanet](https://hashnode.com/tag/nebulanet)
-   [#antidebugging](https://hashnode.com/tag/antidebugging)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
