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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:07:13+00:00 2026-05-11T01:07:13+00:00

For testing purposes I’m planning to put together a little app that will listen

  • 0

For testing purposes I’m planning to put together a little app that will listen for a particular event coming from an application and interact with it at that point.

Given that we’re at a point in the testing process where changing the application code is out of the question, the ideal from my point of view would be to listen to the debugging trace from the application, a little like debugview does, and respond to that.

Can anyone offer guidance on how best to go about this?

  • 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. 2026-05-11T01:07:14+00:00Added an answer on May 11, 2026 at 1:07 am

    The way I found to do it used the Mdbg tools from Microsoft to give me access from the runtime to the core debugging information. The basic shape of the code I’m using looks like this:

     MDbgEngine mg;  MDbgProcess mgProcess;  try  {        mg = new MDbgEngine();        mgProcess = mg.Attach(debugProcess.Id);  }  catch (Exception ed)  {        Console.WriteLine('Exception attaching to process ' + debugProcess.Id );        throw (ed);  }  mgProcess.CorProcess.EnableLogMessages(true);  mgProcess.CorProcess.OnLogMessage += new LogMessageEventHandler(HandleLogMessage);  mg.Options.StopOnLogMessage = true;  mgProcess.Go().WaitOne();  bool running = true;  Console.CancelKeyPress += new ConsoleCancelEventHandler(Console_CancelKeyPress);   while (running)    {        try        {            running =mgProcess.IsAlive;            mgProcess.Go().WaitOne();         }         catch          {             running = false;          }      } 

    It seems to work well enough for what I need at any rate, perhaps it will provide a useful template to anyone else who finds themselves in the same boat.

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

Sidebar

Related Questions

How do I deploy my app down to the iPhone (for testing purposes) from
Where should I put test data that is for RSpec testing purposes only?
I have installed WordPress locally on WampServer for testing purposes. I discovered that when
I'm adding some attributes from live to staging for testing purposes, I'm using ldifde:
I'm running an application from inside another one for testing purposes. I want to
For testing purposes, I need to find two 64-bit integer values that exactly multiply
I'm working on a setup that takes an http request (GET for testing purposes)
For testing purposes I installed a service on Android Phone from Eclipse i.e instead
I have a simple class (for testing purposes) that I am trying to Query
for testing purposes i need an recursive directory with some files, that comes to

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.