PDA

View Full Version : Where is the application code in XP ?


The SharK
05-25-2002, 11:46 PM
I just wonder....

When you debug in Windows 98 it's easy to get into the program you want to debug, but when I want to debug in Windows XP I can't seem to find the applications code ?
Is it because there is a lot more features in Windows XP ?

_Servil_
05-26-2002, 12:08 AM
mayB it's due to apps under XP don't use code )

The Svin
05-26-2002, 12:15 AM
Quote:
I can't seem to find the applications code ?

Find where?

The SharK
05-26-2002, 12:38 AM
I mean, I can't seem to follow the code from the beginning to the end, as with Windows 98.

_Servil_
05-26-2002, 01:19 AM
you ever traced program from start to end?
congratz

what du you call 'follow the code'?

The SharK
05-26-2002, 01:32 AM
Off cause, all the time....

For small programs it's a good thing to see things from
the start !
But for BIG programs it's of course not worth the effort.
Nevertheless I think I have found a way to get around the
problem. It has something to do with how you break
into the program !!!

The Svin
05-26-2002, 09:19 PM
Quote:

I mean, I can't seem to follow the code from the beginning to the end

Do you mean tracing in a debugger?
If yes - what debugger do you use?

The SharK
05-27-2002, 09:06 AM
I use SoftIce. And yes it's when I trace through the program.
But as I mentioned, I have found a way to work around this
problem, it's just that in windows 98 you can breake on
GetWindowTextA, and from here you can easily get to the
programs code (the one you wan't to debug).
But in windows XP when you trace through the program and
you use F10 to step over some calls, the program you debug
suddenly runs !

I guess one have to trace into "all" the calls to get to the code...

[yAtEs]
05-27-2002, 11:41 AM
Quote:
Originally posted by The SharK
in windows XP when you trace through the program and
you use F10 to step over some calls, the program you debug
suddenly runs !

I guess one have to trace into "all" the calls to get to the code...



An explanation for this can be found here:
http://www.woodmann.net/forum/showthread.php?s=&threadid=2948&highlight=SYSENTER