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 7945695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:56:46+00:00 2026-06-04T00:56:46+00:00

I notice Debug.Assert does not trigger in Metro apps, however, if the project is

  • 0

I notice Debug.Assert does not trigger in Metro apps, however, if the project is a traditional one like Console or WinForm, it does trigger. And yes, I am in Debug mode.

Is it a setting not properly set in Visual Studio (11 Beta)? Or Debug.Assert is intended to be disabled in metro apps?

I know many exceptions are swallowed during the execution of Metro apps, but Debug.Assert is so handy that I can’t think of a reason why it should be disabled.

  • 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-06-04T00:56:48+00:00Added an answer on June 4, 2026 at 12:56 am

    It does trigger, look in the Output window. It just doesn’t automatically prompt you to ask if you want a debugger break and thus just keeps motoring.

    The DefaultTraceListener.AssertUIEnabled property is false. That’s an implementation problem, can’t display a message box on top of Metro UI. Which does actually work but the monitor switches to the desktop, pretty undesirable when you would have liked to click No. Hard to solve and no doubt on the todo list. You can’t easily get to the property to set it to true, it is inaccessible from the metadata. Filip’s workaround sounds half-decent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to set level logging to DEBUG in tomcat but in console
Does python have some undefined variable / debug mode which will output a notice/warning?
I am trying to debug the reason why my ajax get/post is not working
Under my project folder, I find the following folder: Bin\Debug\ This folder has DLLs
I'm using Eclipse IDE and notice an option in the Debug perspective in the
Debug is throwing... Notice: Undefined index: HTTPS in C:\xampplite\htdocs\testsite\wp-content\themes\mytheme\header.php on line 4 How can
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1024: Cannot modify header information
When I debug my software in VS C++ by stepping the code I notice
Here's the object debugger for one of the pages: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.elon.edu%2Fe-net%2FNote.aspx%3Fid%3D954246 Notice the image box
I am trying to debug a Google AppEngine project in Eclipse/PyDev running on Ubuntu.

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.