PC Review


Reply
Thread Tools Rate Thread

How to bypass the alarm box to ask if user like to open debugger to debug or not

 
 
Carfield Yim
Guest
Posts: n/a
 
      20th May 2007
Hi , I have a java application which get data from a Windows
executable to get data. In order to prevent the service interrupt for
some reason my java application will detect if the process exit and
restart the Windows executable if it is terminated.

However, I just found that if the exe crashed, rather than it just
restart. Windows will display an alarm box to ask if user like to open
debugger to debug or not, if there is no user to handle the dialog the
process will not restart.

Does anyone know how to bypass this dialog completely?

 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      20th May 2007
To disable the good Dr. Watson completely.

HKLM\Software\Microsoft\Window*s NT\CurrentVersion\AeDebug
set the Reg_Sz string value
Auto="0"
and possibly change the Reg_Sz string for
Debugger="drwtsn32 -p %ld -e %ld -g"
to
Debugger=""

If you later change your mind, from the "Run" box
drwtsn32 -i

Else if you just want no notification, from the run box;
drwtsn32
then uncheck the box for "Visual Notification"

HKEY_LOCAL_MACHINE\SOFTWARE\Mi*crosoft\DrWatson
"VisualNotification"=dword:000*00000

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Carfield Yim" wrote:
> Hi , I have a java application which get data from a Windows
> executable to get data. In order to prevent the service interrupt for
> some reason my java application will detect if the process exit and
> restart the Windows executable if it is terminated.
>
> However, I just found that if the exe crashed, rather than it just
> restart. Windows will display an alarm box to ask if user like to open
> debugger to debug or not, if there is no user to handle the dialog the
> process will not restart.
>
> Does anyone know how to bypass this dialog completely?
>


 
Reply With Quote
 
Carfield Yim
Guest
Posts: n/a
 
      21st May 2007
Thanks a lot. However just found out that the company policy don't
allow disabling Dr. Watson, anyway thanks~

On May 21, 2:20 am, "Dave Patrick" <DSPatr...@nospam.gmail.com> wrote:
> To disable the good Dr. Watson completely.
>
> HKLM\Software\Microsoft\Window*s NT\CurrentVersion\AeDebug
> set the Reg_Sz string value
> Auto="0"
> and possibly change the Reg_Sz string for
> Debugger="drwtsn32 -p %ld -e %ld -g"
> to
> Debugger=""
>
> If you later change your mind, from the "Run" box
> drwtsn32 -i
>
> Else if you just want no notification, from the run box;
> drwtsn32
> then uncheck the box for "Visual Notification"
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Mi*crosoft\DrWatson
> "VisualNotification"=dword:000*00000
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]http://www.microsoft.com/protect
>
> "Carfield Yim" wrote:
> > Hi , I have a java application which get data from a Windows
> > executable to get data. In order to prevent the service interrupt for
> > some reason my java application will detect if the process exit and
> > restart the Windows executable if it is terminated.

>
> > However, I just found that if the exe crashed, rather than it just
> > restart. Windows will display an alarm box to ask if user like to open
> > debugger to debug or not, if there is no user to handle the dialog the
> > process will not restart.

>
> > Does anyone know how to bypass this dialog completely?



 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      22nd May 2007
You're welcome.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Carfield Yim" wrote:
Thanks a lot. However just found out that the company policy don't
allow disabling Dr. Watson, anyway thanks~
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bypass error message to debug Teddy Microsoft Excel Programming 5 8th Mar 2010 12:43 AM
Can't debug because I'm not a debugger darrel Microsoft ASP .NET 6 3rd Sep 2008 11:08 PM
debug, debugger and release mode vmantrana Microsoft Dot NET 1 8th Aug 2008 12:31 PM
debug on client's computer (without debugger?) WJ Microsoft VC .NET 11 11th Apr 2008 09:41 PM
Debug without Debugger? John Smith Microsoft ASP .NET 0 27th Mar 2008 01:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:41 PM.