几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】debugging problem9unknown breakpoint0 (http://www.dimcax.com/hust/showthread.php?t=15652)

yang686526 2009-05-04 07:14 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 02:23 AM.