Re: [BLACKBOX] Pause or single-step a program

From: [at]} <Chris>
Date: Sat, 3 Sep 2011 21:47:44 +0930

----boundary-LibPST-iamunique-1037007569_-_-
Content-type: text/plain

________________________________

        From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
Stephen R. Troy
        Sent: Saturday, 3 September 2011 6:50 AM
        To: BLACKBOX{([at]})nowhere.xy
        Subject: [BLACKBOX] Pause or single-step a program
        
        
                Dear List,
        I need to debug a program. I want to be able to pause normal
execution so I can examine the values of certain variables, then resume
execution. I can see an obvious way to do it, by calling a procedure that
will execute a loop until the value of a global Boolean variable changes.
But since this requirement must have come up before, I hoped somebody could
suggest a more elegant method. Thanks for any suggestions.
        Steve Troy

------------

If the algorithm that you are trying to debug is generic Component Pascal
(i.e. not containing any Blackbox-specific dependencies) then you could try
compiling it using GPCP for .NET and debug it using the standard .NET GUI
interactive runtime debugger 'GuiDebug'.

Regards,
Chris

Chris Burrows
CFB Software
http://www.cfbsoftware.com


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1037007569_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIF9fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXHBhcg0KXHBhcg0KXHRhYiBG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S0tLS0t
LS1ccGFyDQpccGFyDQpJZiB0aGUgYWxnb3JpdGhtIHRoYXQgeW91IGFyZSB0cnlpbmcgdG8gZGVi
dWcgaXMgZ2VuZXJpYyBDb21wb25lbnQgUGFzY2FsXHBhcg0KKGkuZS4gbm90IGNvbnRhaW5pbmcg
YW55IEJsYWNrYm94LXNwZWNpZmljIGRlcGVuZGVuY2llcykgdGhlbiB5b3UgY291bGQgdHJ5XHBh
cg0KY29tcGlsaW5nIGl0IHVzaW5nIEdQQ1AgZm9yIC5ORVQgYW5kIGRlYnVnIGl0IHVzaW5nIHRo
ZSBzdGFuZGFyZCAuTkVUIEdVSVxwYXINCmludGVyYWN0aXZlIHJ1bnRpbWUgZGVidWdnZXIgJ0d1
aURlYnVnJy5ccGFyDQpccGFyDQpSZWdhcmRzLFxwYXINCkNocmlzXHBhcg0KXHBhcg0KQ2hyaXMg
QnVycm93c1xwYXINCkNGQiBTb2Z0d2FyZVxwYXINCmh0dHA6Ly93d3cuY2Zic29mdHdhcmUuY29t
XHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2Fn
ZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5D
SFxwYXINCn0=
----boundary-LibPST-iamunique-1037007569_-_---
Received on Sat Sep 03 2011 - 14:17:44 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:11 UTC