Application debugging issue

I’m a new member on this thread. I’m using Softice for my app debugging tasks. The problem is when I use loader32.exe to load my app, softice is not popping up to allow me to debug the app. But softice is started and is responding to ctrl+D. So what could be the problem here?

regds
narain

Did u translated the debug executable symbols; try doing that before load
the symbols then try it out.

Regards,
Elango C

On 3/28/07, xxxxx@yahoo.com wrote:
>
> I’m a new member on this thread. I’m using Softice for my app debugging
> tasks. The problem is when I use loader32.exe to load my app, softice is
> not popping up to allow me to debug the app. But softice is started and is
> responding to ctrl+D. So what could be the problem here?
>
> regds
> narain
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

I tried all that but still it doesn’t work. Moreover can u pls tell me what does translating symbols has to do with popping softice? I think softice should pop once a breakpoint is set in main/winmain via loader32. In my case i think somehow the break point is not set so which softice is not popping up.

What are your INT1 & INT3 settings?

mm

>> xxxxx@yahoo.com 2007-03-28 11:33 >>>
I tried all that but still it doesn’t work. Moreover can u pls tell me
what does translating symbols has to do with popping softice? I think
softice should pop once a breakpoint is set in main/winmain via
loader32. In my case i think somehow the break point is not set so which
softice is not popping up.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

>>>What are your INT1 & INT3 settings?

Could you pls tell how to check these settings? (I’m quiet new to softice) The manual says these settings are obsolete in Winxp…

Also pls note that I’m able to set breakpoints on functions and hit them normally outside of loader32…only when i’m trying to load an app with loader32, the breakpoint is not hit due to which i’m not able to do source level debugging. Pls help me…

I’ve got the opposite problem - it’s been a good long time since I’ve
used SoftICE, but I’ll give it my best. I don’t know what manual you
are reading, but INT1 and INT3 can’t be obsolete, unless I’m really
missing something. INT1 controls whether SI will break on the single
step step interrupt, and INT3 controls handling of the debug interrupt.
Each can be set to either ON, OFF or DRV. ON causes SI to break on the
respect interrupt. OFF causes SI to ignore the interrupt, which allows
another debugger to handle it. DRV causes SI to break only if the
interrupt originated from kernel mode. The easiest thing to do is just
to set both to ON.

I’ve got to ask: if you are new to SI, and you are debugging a user
mode application, why on earth are you using SI? While it had it’s
uses, it is out of business, and truly painful for user mode work. Just
use WinDbg.

mm

>> xxxxx@yahoo.com 2007-03-29 23:42 >>>
>>What are your INT1 & INT3 settings?

Could you pls tell how to check these settings? (I’m quiet new to
softice) The manual says these settings are obsolete in Winxp…

Also pls note that I’m able to set breakpoints on functions and hit
them normally outside of loader32…only when i’m trying to load an app
with loader32, the breakpoint is not hit due to which i’m not able to do
source level debugging. Pls help me…


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

>I’ve got to ask: if you are new to SI, and you are debugging a user mode application, why on earth are >you using SI? While it had it’s uses, it is out of business, and truly painful for user mode work. Just use >WinDbg.

Good Question: Well I need a debugger which can trace an app’s path from user mode to kernel mode and then back. I think we need two systems to do this with windbg which I cannot spare (in fact I don’t have two systems) right now. So softice is my only choice.

I’m quiet perplexed that i’m not able to solve this issue, I’ve been trying really hard and have asked help from so many people but couldn’t get an answer. Why the heck would softice not break from within loader32 but break from outside and work perfectly for kernel debugging but not for app debugging? It seems pretty misterious…

meanwhile i forgot to mention that i made both i1here and i3here to on but still the problem persists

Well you could of course install your app in a virtual machine on your system and debug using windbg for the kernel and windbg (or visual studio) for the app.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-282207-
xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Friday, March 30, 2007 1:48 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Application debugging issue

>I’ve got to ask: if you are new to SI, and you are debugging a user
mode application, why on earth are >you using SI? While it had it’s
uses, it is out of business, and truly painful for user mode work. Just
use >WinDbg.

Good Question: Well I need a debugger which can trace an app’s path
from user mode to kernel mode and then back. I think we need two
systems to do this with windbg which I cannot spare (in fact I don’t
have two systems) right now. So softice is my only choice.

I’m quiet perplexed that i’m not able to solve this issue, I’ve been
trying really hard and have asked help from so many people but couldn’t
get an answer. Why the heck would softice not break from within
loader32 but break from outside and work perfectly for kernel debugging
but not for app debugging? It seems pretty misterious…


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer