16,012,223 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Javith khan (Top 5 by date)
Javith khan
22-Sep-14 12:37pm
View
Any help on this would be appreciated.
Thanks.
Javith khan
22-Sep-14 12:36pm
View
Deleted
Hi,
I would like to develop the sample application to generate the Dumpfiles for any application(in which exception occured).
http://blogs.msdn.com/b/dondu/archive/2010/10/24/writing-minidumps-in-c.aspx
I need to know the following values to generate the dumpFile for any process which encountered with exceptions.
currentProcess.Handle,
currentProcess.Id,
currentThread.Id
The first two values, i received using the below snippet.
foreach (Process p in processes)
{
if (p.ProcessName.Equals(processName))
{
handle = p.MainWindowHandle;
id = (uint)p.Id;
break;
}
}
whereas, I am not sure from where i can get the value for currentThread.Id..
In the above blog, they have created the dump file for that particular sample application. Hence they will be able to retrieve all the values required.
But in my case, i am trying to capture all these values for some other application.
Thanks.
Javith khan
22-Sep-14 12:36pm
View
Hi,
I would like to develop the sample application to generate the Dumpfiles for any application(in which exception occured).
http://blogs.msdn.com/b/dondu/archive/2010/10/24/writing-minidumps-in-c.aspx
I need to know the following values to generate the dumpFile for any process which encountered with exceptions.
currentProcess.Handle,
currentProcess.Id,
currentThread.Id
The first two values, i received using the below snippet.
foreach (Process p in processes)
{
if (p.ProcessName.Equals(processName))
{
handle = p.MainWindowHandle;
id = (uint)p.Id;
break;
}
}
whereas, I am not sure from where i can get the value for currentThread.Id..
In the above blog, they have created the dump file for that particular sample application. Hence they will be able to retrieve all the values required.
But in my case, i am trying to capture all these values for some other application.
Thanks.
Javith khan
22-Sep-14 11:25am
View
Hi,
Consider my Application is freezed/hangs due to some exception occured in any of the threads in that application/process.
In this scenario, My Application does not respond and will not be able to proceed further.
Hence, i want to know the current thread at this moment (or) in which thread that exception has occured.
Please feel free if you require any information on the same.
Thanks.
Javith khan
22-Oct-13 2:25am
View
Reason for my vote of 3 \n My Vote of 3