Hi,
in basic, if i understand that right, we do a OpenProcess(...),
then call a DebugBreakProcess(...) which succeeds on the
call, but the remote process does not break/fail or whatever.
Simply nothing happens,....why?
So, how do i make a remote process being interrupted and
attached to a system installed debugger from within my
application?
regards
K.
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G�mr�kc�
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
|
|
0
|
|
|
|
Reply
|
iso
|
10/24/2010 3:05:48 AM |
|
The proccess where its PID is passed to DebugBreakProcess must already
being run under debugger. If the process isn't currently under a
debugger, it will raise a breakpoint exception where it will treat it as
an error and it may cause it to terminate abruptly depending on its
exception handler.
I think what you need is DebugActiveProcess so that the process will
stop and the control is given to your application as a debugger.
Kerem G�mr�kc� wrote:
> Hi,
>
> in basic, if i understand that right, we do a OpenProcess(...),
> then call a DebugBreakProcess(...) which succeeds on the
> call, but the remote process does not break/fail or whatever.
> Simply nothing happens,....why?
>
> So, how do i make a remote process being interrupted and
> attached to a system installed debugger from within my
> application?
>
> regards
>
> K.
>
> -----------------------
> Beste Gr�sse / Best regards / Votre bien devoue
> Kerem G�mr�kc�
> Latest Project: http://www.pro-it-education.de/software/deviceremover
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
|
|
0
|
|
|
|
Reply
|
JJ
|
10/26/2010 7:04:56 PM
|
|
Hi JJ,
thanks for your answer. What i want is to implement a function like
the menu item "Debug" implements in Process Explorer from Sysinternals.
Selecting a Process and then attaching a debugger to it. I have written
my own debugging routines so far, but i want to pass the application
to a installed debugger not my own application. Any idea?
regards
K.
"JJ" schrieb im Newsbeitrag news:ia78nv$ig7$1@news.eternal-september.org...
The proccess where its PID is passed to DebugBreakProcess must already
being run under debugger. If the process isn't currently under a
debugger, it will raise a breakpoint exception where it will treat it as
an error and it may cause it to terminate abruptly depending on its
exception handler.
I think what you need is DebugActiveProcess so that the process will
stop and the control is given to your application as a debugger.
Kerem G�mr�kc� wrote:
> Hi,
>
> in basic, if i understand that right, we do a OpenProcess(...),
> then call a DebugBreakProcess(...) which succeeds on the
> call, but the remote process does not break/fail or whatever.
> Simply nothing happens,....why?
>
> So, how do i make a remote process being interrupted and
> attached to a system installed debugger from within my
> application?
>
> regards
>
> K.
>
> -----------------------
> Beste Gr�sse / Best regards / Votre bien devoue
> Kerem G�mr�kc�
> Latest Project: http://www.pro-it-education.de/software/deviceremover
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
|
|
0
|
|
|
|
Reply
|
iso
|
10/26/2010 7:43:34 PM
|
|
On 26/10/2010 20:43, Kerem G�mr�kc� wrote:
> Hi JJ,
>
> thanks for your answer. What i want is to implement a function like
> the menu item "Debug" implements in Process Explorer from Sysinternals.
> Selecting a Process and then attaching a debugger to it. I have written
> my own debugging routines so far, but i want to pass the application
> to a installed debugger not my own application. Any idea?
See this article for the registry values in question to read from.
You can then just start that with the given process ID.
--
Dee Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems
(Replies direct to my email address will be ignored.
Please reply to the group.)
|
|
0
|
|
|
|
Reply
|
Dee
|
10/27/2010 8:25:06 AM
|
|
Hi Dean,
thanks for the answer. I guess you forgot to attach
the article, but i know you are talking about the AEDebug
Key in the HKLM hive. Ill try to do it with that,...
regards
K.
"Dee Earley" schrieb im Newsbeitrag news:ia8nl1$sn5$1@speranza.aioe.org...
On 26/10/2010 20:43, Kerem G�mr�kc� wrote:
> Hi JJ,
>
> thanks for your answer. What i want is to implement a function like
> the menu item "Debug" implements in Process Explorer from Sysinternals.
> Selecting a Process and then attaching a debugger to it. I have written
> my own debugging routines so far, but i want to pass the application
> to a installed debugger not my own application. Any idea?
See this article for the registry values in question to read from.
You can then just start that with the given process ID.
--
Dee Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems
(Replies direct to my email address will be ignored.
Please reply to the group.)
|
|
0
|
|
|
|
Reply
|
iso
|
10/27/2010 1:22:56 PM
|
|
On 27/10/2010 14:22, Kerem G�mr�kc� wrote:
> Hi Dean,
>
> thanks for the answer. I guess you forgot to attach
> the article, but i know you are talking about the AEDebug
> Key in the HKLM hive. Ill try to do it with that,...
That's right (and can you use my correct name please?)
--
Dee Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems
(Replies direct to my email address will be ignored.
Please reply to the group.)
|
|
0
|
|
|
|
Reply
|
Dee
|
10/28/2010 8:38:58 AM
|
|
>That's right (and can you use my correct name please?)
Oh i am sorry, sure Dee,...
K.
|
|
0
|
|
|
|
Reply
|
iso
|
10/28/2010 9:51:19 AM
|
|
|
6 Replies
398 Views
(page loaded in 0.294 seconds)
Similiar Articles: How to launch debugger on remote process,... - comp.os.ms-windows ...Hi, in basic, if i understand that right, we do a OpenProcess(...), then call a DebugBreakProcess(...) which succeeds on the call, but the remote process does not ... How to attach telnet to a process? - comp.unix.solarisHow to use "telnet" to launch another program on a remote machine ... The ... Once you do this the debugger will attach to this remote process and you can begin debugging ... Catalyst debugging - comp.dcom.sys.ciscoHow to launch debugger on remote process,... - comp.os.ms-windows ... I have written > my own debugging routines so far, but i want to pass the ... crypto_isakmp_process ... How to use "Virtual topologies" - comp.parallel.mpiHow to launch debugger on remote process,... - comp.os.ms-windows ... How to use "Virtual topologies" - comp.parallel.mpi For example, you can use MPI_Cart_create to ... How to use "telnet" to launch another program on a remote machine ...How to launch debugger on remote process,... - comp.os.ms-windows ... How to use "telnet" to launch another program on a remote machine ... How to use "telnet" to launch ... Incompatible magic value 1008813135 error with applet - comp.lang ...How to launch debugger on remote process,... - comp.os.ms-windows ... Incompatible magic value 1008813135 error with applet - comp.lang ... I'm in the process of switching ... Errrors while debugging in Compaq Visual Fortran 6.6 - comp.lang ...I launch the debug. I insert '5'. My debus doesn't go on and I get This ... How to launch debugger on remote process,... - comp.os.ms-windows ... Errrors while debugging in ... eclipse debugger return from "stepped into" function - comp.lang ...How to launch debugger on remote process,... - comp.os.ms-windows ... eclipse debugger return from "stepped into" function - comp.lang ..... problem using the debugger. How to Launch Terminal Programs from the finder/desktop? - comp ...How to use "telnet" to launch another program on a remote machine ... ... I have a 2950 that is ... Procedure Using ROMmon-r copy image to dram for launch ... Failed to launch server application - comp.cad.solidworks ...Check your taskmanager for Excel.exe on the processes tab. I got a ... How to use "telnet" to launch another program on a remote machine ... Failed to launch server ... Debugging Remotely - Microsoft Corporation: Software, Smartphones ...There are two ways to start remote debugging: Launch a project using the debugger ... Note Because remote debugging ties up process threads on the server, it is ... How to launch debugger on remote process,... - comp.os.ms-windows ...Hi, in basic, if i understand that right, we do a OpenProcess(...), then call a DebugBreakProcess(...) which succeeds on the call, but the remote process does not ... 7/25/2012 7:26:45 PM
|