Log in

View Full Version : Getting SI to start upon prog execution


Joe Doe
June 24th, 2001, 16:40
I am trying to use SI as a debugger with acomanying source code. I have compilled my program with debugging on, and Have checked the option of the symbol loader to break on WinMain. However, when I load the exe, the exe just runs and does not break. Could someone that maybe has experience useing SI in this manner tell me what I am doing wrong. Here are some details.

-I am compiling under lcc.
-FILE does not show my file name however SYM seems to work, and when I set box _WinMain, the program breaks on executions...

Could someone please tell me what I might be doing wrong
-Thanks

Kayaker
June 24th, 2001, 22:11
Hi,

Not sure why SI might not be breaking, but trying loading Icedump first, there's a good chance it will force SI to break.

http://icedump.tsx.org/

Kayaker

CoDe_InSiDe
June 25th, 2001, 00:31
Hi Joe Doe,

I think (But i don't know sure) that SoftICE won't break because of the Section Characteristics of the "Code" Section
You can try to change that to "400000E0" or (like i always break at the OEP, because i don't trust Symbol Loader ;D ) put a "Int 03" (CC) at the OEP
Hope this helps in some way

Cya...

CoDe_InSiDe

Russ
June 25th, 2001, 23:06
Hi Joe Doe.

Symbol loader has some wierd requirements it seems. Like CoDe_InSiDe says, your .text section needs to have certain characteristics. I downloaded lcc and compiled a small program. My .text section had 60000020 for characteristics which is fine for symbol loader to break (just need "contains executable code".

However, symbol loader didn't break if my program name was over 8 characters long no matter what executable I was working with!!!

Is your program name over 8???????

r_e_a_l_f
July 8th, 2001, 06:22
i too get the same problem i just reinstalled it works fine (for time being) but the problem gets again.

i am also newbi