My app. sees an exception from the kernel at an obscure address, 0x7c59ba9d.
When running under the VC++ 6.0 debugger, I can trap this each time it
occurs. If I want to trap it in my program and just tell the program to just
continue (i.e. not pass the exception up the chain) how do I do this?
Any idea how I can find out what the cause of the exception is? In the call
stack my program doesn't appear. MSCORWKS (which I think is .NET, the
framework used by the app. that calls my DLL) and KERNEL32 do.
Many thanks for any help that you can give.
Jul 21 '05
12 2098
"Andrew Chalk" wrote: I ran my executable from the WinDbg File->Open Executable menu and when
the first chance exception that I am looking for occurred, execution did not halt. Any idea what I am doing wrong?
To enable 1st chance break on specific exceptions, do 'sxe <exception
code>'.
If you are interested in .NET exceptions, you can also do 'sxe clr'.
Thanks. I'll try this.
"Pavel Lebedinsky" <m_pll ./. hotmail ./. com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l... "Andrew Chalk" wrote:
I ran my executable from the WinDbg File->Open Executable menu and when the first chance exception that I am looking for occurred, execution did not halt. Any idea what I am doing wrong?
To enable 1st chance break on specific exceptions, do 'sxe <exception code>'.
If you are interested in .NET exceptions, you can also do 'sxe clr'.
Many thanks to yourself and Ivan. I eventually trapped the error.
Regards
"Pavel Lebedinsky" <m_pll ./. hotmail ./. com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l... "Andrew Chalk" wrote:
I ran my executable from the WinDbg File->Open Executable menu and when the first chance exception that I am looking for occurred, execution did not halt. Any idea what I am doing wrong?
To enable 1st chance break on specific exceptions, do 'sxe <exception code>'.
If you are interested in .NET exceptions, you can also do 'sxe clr'.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: KKramsch |
last post by:
One of the features from other languages that I miss most in C is
trappable exceptions. More specifically, I think it's great to be
able to demarcate a whole block of code where several exceptions
can happen at various points, so that any one of these exceptions
can be trapped and handled by the exception-handling code collected
in one place after the block. This also means that the exception
generating code can be much cleaner, since...
|
by: Anirudha Vengurlekar |
last post by:
Hello Community,
We can have nested TRY , CATCH , FINALLY blocks in the application. So in
what situation (in a class or in a function) I would use this nested Try
catch blocks? If someone would help me then it would be great. ( I know why
we use the Try catch etc., but I am looking in what scenario someone can use
nested Try catch for better exception handling )
|
by: SMG |
last post by:
Hi ,
Sory for incomplete message in last post here is the actual problem..
I am using following code in web.confiig for trapping all the error through
out my site..
<customErrors mode="On" defaultRedirect="WebForm1.aspx">
<error statusCode="404" redirect="ServerError.aspx"></error>
<error statusCode="500" redirect="WebForm3.aspx"></error>
|
by: Andrew Chalk |
last post by:
My app. sees an exception from the kernel at an obscure address, 0x7c59ba9d.
When running under the VC++ 6.0 debugger, I can trap this each time it
occurs. If I want to trap it in my program and just tell the program to just
continue (i.e. not pass the exception up the chain) how do I do this?
Any idea how I can find out what the cause of the exception is? In the call
stack my program doesn't appear. MSCORWKS (which I think is .NET, the...
|
by: pedrito |
last post by:
I've got an app that downloads from several concurrent threads.
Occasionally, I get an expcetion trying to read the HttpWebResponse
stream...
Sorry, the code isn't short, but I figured best to provide the whole method.
This is run within its own thread. "Job" is a class that receives the
information about the downloaded pages. The exception happens on the read
where it says "EXCEPTION HERE"
| |
by: Yash |
last post by:
Hi,
I have create a user control which has a dropdown. The user control
internaly handles the Selected_Index_Changed event of the dropdown. If
there is an error/exception in handling it, I would like the
containing page to know of it. How can I make this possible? The
containing page does not know of the dropdown.
Thanks,
Yash
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |