Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5987179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:46:38+00:00 2026-05-22T22:46:38+00:00

I got a windows form application with a timer. Whenever I open a fullscreen

  • 0

I got a windows form application with a timer.

Whenever I open a fullscreen application like a game and try to debug the timer, it completely ignores it. But the second I change the application to window mode, the debugging works.

I also tried pressing a key (using global hook) and debugging the click and the debugging worked while I was in the game (full screen).

Has anyone ever had this issue? how can it be fixed?

EDIT : It seems that even this doesn’t go into debug (Called OpenNewTempThread from Form1())

private void OpenNewTempThread()
    {
        Thread thread = new Thread(Temp) { Name = "TempThread" };
        thread.Start();
    }

    private bool Temping = true;
    private void Temp()
    {
        while (true)
        {
            while (Temping)
            {
                Thread.Sleep(5000);
            }
            Thread.Sleep(100);
        }
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:46:39+00:00Added an answer on May 22, 2026 at 10:46 pm

    Try putting this line in your code (it’ll work assuming you are running under a debugger):

    System.Diagnostics.Debugger.Break();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a Windows Forms application with two ListBox controls on the same form.
I've got a c# WINDOWS Application that is multi-threaded. It is my understanding that
I've got a web application that is running against Windows Authentication using our Active
I have got a problem. I have windows forms application with dynamic generated layout,
I've got a windows application that creates some threads to parse some txt files.
At work we've got a very CPU-intensive Windows Forms application. It's running on a
I've got a windows form object that contains 3 objects, a treeview, a richtextbox,
I got a stupid question on ListView Control usage. I created a Windows Form
Compact Framework .net C# Desktop Application for Windows Mobile I got 2 buttons that
I've got a simple window form application that turns on capslock when I press

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.