高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】debugging problem9unknown breakpoint0
debugging problem(unknown breakpoint)
debugging problem(unknown breakpoint)
i'm am triying to use a dll version of dwgdirect libs in my project. everithing compiles and links. but when i am triying to debug my application the debugger stops on a breakpoint and shows "user breakpoint called from code at 0x7c901203" message. this message appears every time i press f5 (go). i cannot debug my application because of this...
call stack window shows:
ntdll! 7c901230()
ntdll! 7c96cd80()
ntdll! 7c96df66()
ntdll! 7c94a5d0()
ntdll! 7c9268ad()
msvcrt! 77c1c2de()
dd_alloc_2.03_6! 10001027()
0012f33c()
i have added _toolkit_in_dll_ as a preprocessor definition and linked such libs:
dd_gs_dll.lib dd_db_dll.lib dd_ge_dll.lib dd_root_dll.lib dd_acisbuilder_dll.lib dd_gi_dll.lib dd_key.lib.
note, that when i use static libs version everything works correctly and does not stop on this such breakpoint.
i am using ms vc6, winxp
how can i pass this breakpoint?
there is a tool called 'depends', supplied with vs.
use it on your exe file, and see if all dll dependencies are satisfied.
vladimir
quote:
originally posted by dimedroll
i cannot debug my application because of this...
call stack window shows:
ntdll! 7c901230()
ntdll! 7c96cd80()
ntdll! 7c96df66()
ntdll! 7c94a5d0()
ntdll! 7c9268ad()
msvcrt! 77c1c2de()
dd_alloc_2.03_6! 10001027()
0012f33c()
you should build debug version of exalloc (see dwgdirect samples) and use that dll instead of dd_alloc_2.03_6.dll
exalloc should be used carefully. it is a bit faster than crt heap, but it may be incompatible with mfc, which uses its own global new operator.
vladimir
quote:
originally posted by bright-eyed
you should build debug version of exalloc (see dwgdirect samples) and use that dll instead of dd_alloc_2.03_6.dll
thanks a lot, this have solved the problem
|