Log in

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


The SharK
May 25th, 2002, 22:46
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_
May 25th, 2002, 23:08
mayB it's due to apps under XP don't use code )

The Svin
May 25th, 2002, 23:15
Quote:
I can't seem to find the applications code ?

Find where?

The SharK
May 25th, 2002, 23:38
I mean, I can't seem to follow the code from the beginning to the end, as with Windows 98.

_Servil_
May 26th, 2002, 00:19
you ever traced program from start to end?
congratz

what du you call 'follow the code'?

The SharK
May 26th, 2002, 00:32
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
May 26th, 2002, 20:19
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
May 27th, 2002, 08:06
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]
May 27th, 2002, 10:41
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