Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   DriverStudio 3.2 - Can't set breakpoint in DLL function (https://forum.exetools.com/showthread.php?t=6985)

sackpower 02-28-2005 15:43

DriverStudio 3.2 - Can't set breakpoint in DLL function
 
I tried to set a breakpoint on a well known DLL function, but SoftIce 3.2 returns a "NO LDT" error (no Local Descriptor Table) and doesn��t accept the breakpoint. In SoftIce 3.1 the same works very well.

Here is what I wanted to do:

1) Start Symbolloader and load exports dynamically from ��mytest.dll��.
2) From Symbolloader, open the application ��myApp.exe�� (which uses ��mytest.dll��) and press ��Load symbols��. SoftIce pops up.
3) Set breakpoint: bpx mytest!myfunc - SoftIce says: "NO LTD" and doesn��t accept the breakpoint.

What is going wrong here?

Any help on this point would be greatly appreciated.

Sackpower

dMITR0 03-03-2005 13:59

Maybe you should try to set a breakpoint as 'bpx myfunc' or 'bpx addr', where addr is the address of your myfunc function.

freddy2002 03-04-2005 03:18

And what did happen if you enter
'u mytest!myfunc'
did it show the correct part of code ???

MagMag 03-06-2005 18:21

i recently get driverstudio 3.2 and not install yet but i think u didn't completely load symbols(relative .nms file) to your softice

sackpower 03-07-2005 15:23

Thank you guys for reply

@dMITR0: 'bpx myfunc' still responds with NO LTD

@freddy2002: 'u mytest!myfunc' is INVALID

@MagMag: I'm confused about loading symbols because I had no problem with SoftIce 3.1. The problem occurred after upgrading to SoftIce 3.2 and I don't know what different symbols I would have to load.

I'm using Windows 2000 and I think the best solution is to go back to SoftIce 3.1.

Sackpower

dMITR0 03-10-2005 04:51

You can try to use another debugger such as OllyDbg/WinDBG/etc. just to see it works fine.

Or you can do the trick with 'int3' in SoftICE: in the beggining of your myfunc function use assembler directive '__asm int3' and enable SoftICE break on int3 by 'i3here ON'

Probably it could somehow help to break SI on your function start...


All times are GMT +8. The time now is 07:52.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX