jump to navigation

Debugging multi project in Delphi XE January 4, 2012

Posted by iwancs in Delphi, Tips & Tricks.
Tags: ,
trackback

Currently my project is consist of 2 application which is the server application and the client application. Sometimes i need to debug both of them, so that i can debug the client and also debug the server application at the same time in which i can see what the client sent and what the server read and handle the client request.  This is very handy. This  debugging feature is supported since Delphi XE.

To debug both application at the same time, you need to do this:

- First you must compile all project, remember: compile all not build all

- Second, run the first application either by activating the project first then hit F9 or to right click on the project file then click on the Run menu, remember: not the Run Without Debugging menu

- Third, run the second application using the same method above

- It’s done, just make sure the order to run the application must be correct, for me, i must run the server application first then the client application

Note: if you already did all the step i mention above, even though you set the client application to active, the debugger will still stop on the server application too. So make sure you compile all your project

Hope this will help you if you need to do multiple debugging.

Iwan CS

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.