D2007 debuger crushes

Hi,
I use D2007, win7/64.
One application I wrote has this problem. I can't step execute it (F7 or 
F8).  It happens everywhere I put I breakpoint but even at the beginning 
(ex. starting execution with F7 or F8) . The CPU window activates and 
repeats to raise the exception :  Enxternal exception C0000029  with the 
following details :
---------------------
[77EB0526]{ntdll.dll   } Unknown function at RtlUlonglongByteSwap + $13286
[20857BDA]{dbkdebugide100.bpl} 
DisFrame.TDisViewFrame.DisassemblerView1Disassemble (Line 372, 
"DisFrame.pas" + 4) + $3A
[2000A264]{rtl100.bpl  } System.@IntfClear (Line 17824, "sys\system.pas" + 
7) + $0
[20858605]{dbkdebugide100.bpl} 
DisFrame.TDisViewFrame.DisassemblerView1GetLabel (Line 587, "DisFrame.pas" + 
17) + $1E
[200342EF]{rtl100.bpl  } Classes.TStrings.IndexOfObject (Line 4553, 
"common\Classes.pas" + 2) + $6
[20DE97AA]{vclide100.bpl} DisComp.TDisassemblyCache.Fetch (Line 1058, 
"discomp.pas" + 16) + $1D
[20DE9EFD]{vclide100.bpl} DisComp.TDisassemblerView.DisassembleAt (Line 
1273, "discomp.pas" + 7) + $10
[20DEA272]{vclide100.bpl} DisComp.TDisassemblerView.GetLabel (Line 1384, 
"discomp.pas" + 3) + $12
[20DEB2F7]{vclide100.bpl} DisComp.TDisassemblerView.DrawLine (Line 1902, 
"discomp.pas" + 123) + $B
[20DEB594]{vclide100.bpl} DisComp.Draw (Line 1938, "discomp.pas" + 1) + $15
[20DEA64F]{vclide100.bpl} DisComp.TDisassemblerView.IterateAddrs (Line 1535, 
"discomp.pas" + 46) + $0
[200E60CB]{vcl100.bpl  } Graphics.TFont.Assign (Line 1689, "Graphics.pas" + 
8) + $6
[200E6119]{vcl100.bpl  } Graphics.TFont.Assign (Line 1696, "Graphics.pas" + 
15) + $3
[20DEB619]{vclide100.bpl} DisComp.TDisassemblerView.Paint (Line 1947, 
"discomp.pas" + 4) + $A
[2014559B]{vcl100.bpl  } Controls.TCustomControl.PaintWindow (Line 10157, 
"Controls.pas" + 6) + $5
[2014085D]{vcl100.bpl  } Controls.TWinControl.PaintHandler (Line 7367, 
"Controls.pas" + 4) + $14
[20141030]{vcl100.bpl  } Controls.TWinControl.WMPaint (Line 7560, 
"Controls.pas" + 6) + $5
[20145534]{vcl100.bpl  } Controls.TCustomControl.WMPaint (Line 10146, 
"Controls.pas" + 2) + $4
[2013C527]{vcl100.bpl  } Controls.TControl.WndProc (Line 5146, 
"Controls.pas" + 83) + $6
[20006A3F]{rtl100.bpl  } System.TObject.Dispatch (Line 9284, 
"sys\system.pas" + 8) + $0
[20145534]{vcl100.bpl  } Controls.TCustomControl.WMPaint (Line 10146, 
"Controls.pas" + 2) + $4
[2013C527]{vcl100.bpl  } Controls.TControl.WndProc (Line 5146, 
"Controls.pas" + 83) + $6
[201407A3]{vcl100.bpl  } Controls.TWinControl.DefaultHandler (Line 7334, 
"Controls.pas" + 23) + $17
[2013C527]{vcl100.bpl  } Controls.TControl.WndProc (Line 5146, 
"Controls.pas" + 83) + $6
[201406A7]{vcl100.bpl  } Controls.TWinControl.WndProc (Line 7304, 
"Controls.pas" + 111) + $6
[2013FDD0]{vcl100.bpl  } Controls.TWinControl.MainWndProc (Line 7073, 
"Controls.pas" + 3) + $6
[20040E4C]{rtl100.bpl  } Classes.StdWndProc (Line 11583, 
"common\Classes.pas" + 8) + $0
[20137642]{vcl100.bpl  } Controls.FindControl (Line 2104, "Controls.pas" + 
6) + $9
[201625F0]{vcl100.bpl  } Forms.TApplication.ProcessMessage (Line 8105, 
"Forms.pas" + 23) + $1
[2016262A]{vcl100.bpl  } Forms.TApplication.HandleMessage (Line 8124, 
"Forms.pas" + 1) + $4
[2015E693]{vcl100.bpl  } Forms.TCustomForm.ShowModal (Line 5822, "Forms.pas" 
+ 29) + $5
[06FE314C]{exceptiondiag100.bpl} ExceptionDiagForm.LoadedModules (Line 41, 
"ExceptionDiagForm.pas" + 3) + $9
[004187AD]{bds.exe     } AppMain.TAppBuilder.ShowException (Line 3552, 
"ui\AppMain.pas" + 14) + $A
[201D16B8]{vcl100.bpl  } AppEvnts.TCustomApplicationEvents.DoException (Line 
189, "appevnts.pas" + 2) + $7
[201D1DCA]{vcl100.bpl  } AppEvnts.TMultiCaster.DoException (Line 425, 
"appevnts.pas" + 9) + $F
[20162A45]{vcl100.bpl  } Forms.TApplication.HandleException (Line 8256, 
"Forms.pas" + 6) + $F
[2013FE0B]{vcl100.bpl  } Controls.TWinControl.MainWndProc (Line 7079, 
"Controls.pas" + 9) + $A
[20857BDA]{dbkdebugide100.bpl} 
DisFrame.TDisViewFrame.DisassemblerView1Disassemble (Line 372, 
"DisFrame.pas" + 4) + $3A
[2000A264]{rtl100.bpl  } System.@IntfClear (Line 17824, "sys\system.pas" + 
7) + $0
[20858605]{dbkdebugide100.bpl} 
DisFrame.TDisViewFrame.DisassemblerView1GetLabel (Line 587, "DisFrame.pas" + 
17) + $1E
[200342EF]{rtl100.bpl  } Classes.TStrings.IndexOfObject (Line 4553, 
"common\Classes.pas" + 2) + $6
[20DE97AA]{vclide100.bpl} DisComp.TDisassemblyCache.Fetch (Line 1058, 
"discomp.pas" + 16) + $1D
[20DE9EFD]{vclide100.bpl} DisComp.TDisassemblerView.DisassembleAt (Line 
1273, "discomp.pas" + 7) + $10
[20DEA272]{vclide100.bpl} DisComp.TDisassemblerView.GetLabel (Line 1384, 
"discomp.pas" + 3) + $12
[20DEB2F7]{vclide100.bpl} DisComp.TDisassemblerView.DrawLine (Line 1902, 
"discomp.pas" + 123) + $B
[20DEB594]{vclide100.bpl} DisComp.Draw (Line 1938, "discomp.pas" + 1) + $15
[20DEA64F]{vclide100.bpl} DisComp.TDisassemblerView.IterateAddrs (Line 1535, 
"discomp.pas" + 46) + $0
[200E60CB]{vcl100.bpl  } Graphics.TFont.Assign (Line 1689, "Graphics.pas" + 
8) + $6
[200E6119]{vcl100.bpl  } Graphics.TFont.Assign (Line 1696, "Graphics.pas" + 
15) + $3
[20DEB619]{vclide100.bpl} DisComp.TDisassemblerView.Paint (Line 1947, 
"discomp.pas" + 4) + $A
[2014559B]{vcl100.bpl  } Controls.TCustomControl.PaintWindow (Line 10157, 
"Controls.pas" + 6) + $5
[2014085D]{vcl100.bpl  } Controls.TWinControl.PaintHandler (Line 7367, 
"Controls.pas" + 4) + $14
[20141030]{vcl100.bpl  } Controls.TWinControl.WMPaint (Line 7560, 
"Controls.pas" + 6) + $5
[20145534]{vcl100.bpl  } Controls.TCustomControl.WMPaint (Line 10146, 
"Controls.pas" + 2) + $4
[2013C527]{vcl100.bpl  } Controls.TControl.WndProc (Line 5146, 
"Controls.pas" + 83) + $6
[20145534]{vcl100.bpl  } Controls.TCustomControl.WMPaint (Line 10146, 
"Controls.pas" + 2) + $4
[2013C527]{vcl100.bpl  } Controls.TControl.WndProc (Line 5146, 
"Controls.pas" + 83) + $6
[20DEAA50]{vclide100.bpl} DisComp.TDisassemblerView.MouseMove (Line 1683, 
"discomp.pas" + 1) + $9
[200069A8]{rtl100.bpl  } System.@CallDynaInst (Line 9162, "sys\system.pas" + 
3) + $0
[2013CDC2]{vcl100.bpl  } Controls.TControl.WMMouseMove (Line 5343, 
"Controls.pas" + 8) + $1A
[20006A3F]{rtl100.bpl  } System.TObject.Dispatch (Line 9284, 
"sys\system.pas" + 8) + $0
[2013C527]{vcl100.bpl  } Controls.TControl.WndProc (Line 5146, 
"Controls.pas" + 83) + $6
[201406A7]{vcl100.bpl  } Controls.TWinControl.WndProc (Line 7304, 
"Controls.pas" + 111) + $6
[2013FDD0]{vcl100.bpl  } Controls.TWinControl.MainWndProc (Line 7073, 
"Controls.pas" + 3) + $6
[20040E4C]{rtl100.bpl  } Classes.StdWndProc (Line 11583, 
"common\Classes.pas" + 8) + $0
[20137642]{vcl100.bpl  } Controls.FindControl (Line 2104, "Controls.pas" + 
6) + $9
[201625F0]{vcl100.bpl  } Forms.TApplication.ProcessMessage (Line 8105, 
"Forms.pas" + 23) + $1
[2016262A]{vcl100.bpl  } Forms.TApplication.HandleMessage (Line 8124, 
"Forms.pas" + 1) + $4
[2016291F]{vcl100.bpl  } Forms.TApplication.Run (Line 8223, "Forms.pas" + 
20) + $3
[0042297A]{bds.exe     } bds.bds (Line 195, "" + 7) + $7
--------------------
and when I try to close IDE raises the error : Access violation at address 
21B98A68 in module 'dcc100.dll'. Read of address 00000B74
This problem exists only in this application and not from the beginning . It 
means that something I change somewhere (perhaps a package or else ?) does 
the problem (?) But if the problem is in the code why IDE crushes at the 
beginning ? No code in initialization or finalization code.

Is there a solution for this, please ?

thanks in advance
0
Papas
7/25/2013 12:39:49 PM
embarcadero.delphi.ide 3925 articles. 0 followers. Follow

4 Replies
1154 Views

Similar Articles

[PageSpeed] 49

if I compile the app without packages debugging works fine. I notice that the rtl package is the package that makes the problem but I can't exclude it because is loaded every time I load any other package.
I could live debugging without packages but the dlls that the app loads dynamically, use packages so they aren't compatible with app
Some advice please ?
0
Papas
7/26/2013 1:51:52 AM
Papas Jim wrote:
> if I compile the app without packages debugging works fine. I notice that the rtl package is the package that makes the problem but I can't exclude it because is loaded every time I load any other package.
> I could live debugging without packages but the dlls that the app loads dynamically, use packages so they aren't compatible with app
> Some advice please ?

"dlls that the app loads dynamically, use packages so they aren't compatible 
with app"

That is confusing.  Are these dlls trying to load packages from a different 
version of Delphi?  If so that is probably your problem. You can't have multiple 
copies like that.  The RTTI will be really messed up when passing anything back 
and forth to the DLL.  The DLL must use the same packages that the app uses (or 
would use if built with packages).

-- 
Jeff Overcash (TeamB)
       (Please do not email me directly unless  asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted  corridors of Whitehall.
              (Fish)
0
Jeff
7/26/2013 1:59:18 AM
Jeff thanks for your reply

> 
> That is confusing.  Are these dlls trying to load packages from a different 
> version of Delphi?  If so that is probably your problem. You can't have multiple 
> copies like that.  The RTTI will be really messed up when passing anything back 
> and forth to the DLL.  The DLL must use the same packages that the app uses (or 
> would use if built with packages).
> 
The app and DLLs use the same packages. DLLs are loaded dynamically, and i disabled those of them that throw exceptions. Now i can step through the app's code (only if i build the app it without packages) so i can debug it. But is a pain this way. I have to find out the reason of the problem wich arrived some days ago. I suppose that something in the uses sections messed up the debugger (?) because the problem raises even before any code execution.
0
Papas
7/26/2013 4:07:02 AM
I got exactly the same problem also with Delphi 2007. 
After building all dynamical loaded runtime packages complete new from source, the problem was gone.
0
Dietmar
10/17/2013 6:50:19 AM
Reply:

Similar Artilces:

Is it posible to configure Delphi XE3 IDE to use Delphi 7 compiler/debuger
Hi! Like many other developer out there I have several project which has been developed with older version of Delphi (Delphi 7). Since theese projects rely on some components which are not compatible with newer versions of Delphi (no newer versions available) I'm forced to do any maintnance on theese projects using Delphi 7. Another solution would be to find replacment components which would provide me with same capabilities and work with latest versions of Delphi. But this would probbably require compleete rewritings of my projects (lots and lots of work). So currently I'm using...

Annoying window on IDE on debug desktop(Delphi 2010)
Hi, When I change my IDE desktop(with a loaded project) from default to Debug, a window is displayed at the top left of the IDE for about 1/4 of a second and then hides, I have tried to track down this window(Messages, Tool Palette, etc...) with no success , because is annoying the effect of just show and hide this window every time I debug an app. Anybody else have seen these behavior? Thanks in advance, Omar Zelaya > {quote:title=Omar Edgardo Zelaya Medrano wrote:}{quote} > When I change my IDE desktop(with a loaded project) from default to Debug, a > windo...

Delphi 2009 app no longer runs from IDE with debugging on
I've got an app that has been running fine for years that all of a sudden will not launch from the IDE anymore unless I select "Run without debugging". I have not made any code changes since the last time it was working correctly. When I select Run, the IDE minimizes normally. My EXE shows up in the Windows Task Manager but there is nothing visible on the screen. Then after about 10 or 15 seconds, the IDE pops back up as if the program was terminated normally. If I run without debugging then all is fine. What should I look for? If I create a new app with just a...

D2007's IDE putting 'Debug' in the compiler directives
D2007 For years, I've used my own 'debug' compiler directive in my code. (A quick count found over 750 uses in more than 140 units). Now the IDE insists on putting 'Debug' or 'Release' as a compiler directive. I don't want it to do that--I want to control that. Is there a way to configure it not to? Thanks Ed Dressel Ed Dressel wrote: > For years, I've used my own 'debug' compiler directive in my code. (A quick > count found over 750 uses in more than 140 units). > > Now the IDE insists on putting 'Debug' ...

VS ide / delphi ide key map
I'm quit lost in VS ide, F9 run, F8 / F7 Ctrl+Alt+P for tool pallet and the fast find when you type component name F11 to switch to code view / object inspector, the ability to navigate in the object inspector with tab and writing property name. Will someone make a Delphi to VS guide? -- Henning Swiboda wrote: > I'm quit lost in VS ide, F9 run, F8 / F7 > Ctrl+Alt+P for tool pallet and the fast find when you type component > name > F11 to switch to code view / object inspector, the ability to navigate > in the object inspector with tab and writing propert...

Delphi 2006 vs Delphi 2009 IDE stability
Hello, all. I have medium sized project which includes about 20Mb of source code (just size of *.pas files). I use Delphi 2006. There are third party component suites JVCL, DevExpress Bars, Pegasus Imaging. All updates applied. The main problem is IDE stability. About four..five times a day IDE become unstable after intensive usage of code insight functions (most often I press Ctrl+Space key). The best outcome is that I have to save everything and restart the IDE. The worst outcome is when IDE stalls or falls into endless loop of error messages and any unsaved work is lost. OS...

Debugging DLL compiled with Delphi 7 in Delphi XE5
Dear Sirs/Madams, We are considering changing from Delphi 7 to Delphi XE5. Our project consists of a dll and an .exe file. I have begun converting the .exe file to Delphi XE5 and have successfully accessed the DLL compiled with Delphi 7. When I debug the DLL (using the "run parameters" and changing "host application" to the .exe file) in Delphi 7 I can set breakpoints etc. and they are triggered. However, when I attempt to debug the project in XE5, I get the following message: Module Load: xxx.dll. No Debug Info. Base Address: $015A0000. Process xxx.exe (2928) ...

Comparison between Visual Studio 2008 IDE and Delphi 2010 IDE?
Hi, I wonder which is more programmer friendly. Especially for syntax highlighting and fast code writting, viewing.. Thanks.. Mehmet Fide wrote: > Hi, > > I wonder which is more programmer friendly. Especially for syntax > highlighting and fast code writting, viewing.. > > > Thanks.. See "RAD Studio 2010 vs. Visual Studio 2010" in non-technical group. -- Warm Regards, Lee ...

Delphi IDEs
Is it possible to write applications for Android and touch sensitive screens with Delphi XE4 or later versions of Delphi? Is it possible to write applications for Windows 8 and touch sensitive screens with Delphi XE4 and later versions of Delphi? Pier Pier wrote: > Is it possible to write applications for Android and touch sensitive > screens with Delphi XE4 or later versions of Delphi? iOS support was added in XE4. Android support was added in Delphi XE5. > Is it possible to write applications for Windows 8 and touch sensitive > screens with Delphi XE4 an...

Delphi 2010: AV when switching from Default to debug layout and when closing Delphi
Hello, I experience strange AVs in rtl140.bpl when switching from the Default to the Debug Layout (e.g. when starting the application) or when closing Delphi 2010. I have a bunch of Addins (Modelmaker Code Explorer, EurekaLog, DDevExtensions, JCL, etc...), components installed. Any ideas/tools to possibly track down where the culprit is? Possibly simply an addin in combination with docked windows etc. Thanks, Thomas > {quote:title=Thomas Steinmaurer wrote:}{quote} > I experience strange AVs in rtl140.bpl when switching from the Default > to the Debug Layout (...

Re: Where is data form wizard in Delphi 2009? [pubic.delphi.ide]
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --JivePart=_21560.zeB8CwDOH5aMJzMl Content-Type: text/plain; charset="Utf-8" Sample picture showing drag and drop from persistent fields edit window. (Any TField in any TDataset should work, TSomeKindofTable, or TSomeKindofQuery. Warren --JivePart=_21560.zeB8CwDOH5aMJzMl Content-Type: image/jpeg; name="drag_and_drop_from_persistent_fields_editor.jpg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; ...

Debugging in Delphi XE2 using another Delphi BDS process as host
Hi I've been using delphi a long time And I always had the possibility of debbuging Packages using another Delphi process as host. This is very useful to test the design-time side of packages. Now with XE 2 I can whether running with options - Debugger - Host Application or Attach to process Any ideas? Thanks Plp Pedro wrote: > Now with XE 2 I can whether running with options - Debugger - Host > Application or Attach to process What exactly are you having trouble with? Error messages, unexpected behavior, etc. -- Remy Lebeau (TeamB) Hi Remy ...

My visual studio IDE ,Is not showing a pop-up window like (With Debugging or without debugging) ?
 Hi,    My Issue is in Visual studio IDE,My VS IDE is not showing the pop-up window like  (With Debugging or without debugging) ,when i am clicking the F5 .Can anybody explain How to set options to show that popup window. THanksBenarji Hi, in the web.config look for the <compilation> element. Set the debug attribute to false: <compilation debug="false"> Now press F5 again. Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Workaround for non working Mark as answer buttons....

IDE's Win32 Library path and project's Search Path: Did something change between D2007 and D2007?
Hi guys, I noticed something that Delphi seems to do different between versions 2005/2006 on one side, and 2007/2009 on the other, but I'm not sure whether it's in fact me who's doing something wrong :-). Together with my component library I distribute some example programs that illustrate their use. The installer adds the installation directories of the dcp/dcu directories of my components to the Win32 Library Path in Delphi's options. This worked fine for 2005/2006, in the project options of the example programs I didn't need to specify any of these i...

Web resources about - D2007 debuger crushes - embarcadero.delphi.ide

Bluetooth Smart (Bluetooth low energy) - SimpleLink Ultra-low Power Platform – Wireless Connectivity ...
Bluetooth smart solutions in the SimpleLink ultra-low power wireless MCU platform include the CC2640, the most integrated with smallest solutions ...

sub-keenes: Download buttons and badges
Error: CSS did not load. This may happen on the first request due to CSS mimetype issues. Try clearing your browser cache and refreshing. SourceForge ...

Resources last updated: 2/9/2016 8:53:02 AM