Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Other Programming › Stop a program from closing while debugging?

Stop a program from closing while debugging?

Posts 1–4 of 4 · Page 1 of 1
bennyboo123
bennyboo123
Stop a program from closing while debugging?
I'm trying to debug this program, but when I try to debug it the program closes on its own. Is there something I can do to make it so it doesn't close while debugging?

Sorry if this is wrong section idk where I could post this.
#1 · 8y ago
MI
MikeRohsoft
Well, it depends how the Program finds out a Debugger is attached.
There are several methods for it.
The most used one is to call the Windows API Function IsDebuggerPresent
if you Hook it and returns 0 everytime, it may already works.
#2 · 8y ago
GL
GloryGuy
Need a log
#3 · 8y ago
Hell_Demon
Hell_Demon
Most debuggers include a plugin to bypass the basic checks. You could just scan the game for any calls to ExitProcess, and try to figure out what it uses to detect the debugger.
#4 · 8y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • [TuT]Preventing your Program from ClosingBy Iamazn in Visual Basic Programming
    4Last post 17y ago
  • MPGH Public, Stops My CA From WorkingBy Zakkeh in Combat Arms Hacks & Cheats
    1Last post 17y ago
  • My sig from a while back.By ShadowWrath in Showroom
    11Last post 16y ago
  • [Solved]Program just closesBy Blubb1337 in Visual Basic Programming
    4Last post 16y ago
  • How to make VB.NET download a program from the net?By Stephen in Visual Basic Programming
    4Last post 16y ago

Tags for this Thread

None