How to obtain a "bug" report outside of an exception?

delphi package - automated exception handling

How to obtain a "bug" report outside of an exception?

Postby StephaneGrobety » Fri Nov 30, 2018 3:16 pm

Hello,

I need to implement something similar to the "madTraceProcess" but from a different machine.

I have the following context:

- A distributed message queue is already implemented. It will be the trigger and delivery mechanism.
- This message queue is executed in the context of a background thread.
- It needs to be able to reply to a "getTrace" message by obtaining a process trace in text form (as much as possible, without interrupting any other threads).

At first glance, all I really need is something that does the same as madTraceProcess but from within the process itself (which ought to be simple).

How should I go about implementing this?
StephaneGrobety
 
Posts: 8
Joined: Tue Jul 17, 2018 9:21 am

Re: How to obtain a "bug" report outside of an exception?

Postby madshi » Fri Nov 30, 2018 3:21 pm

In theory simply calling "someAnsiStrVar := madExcept.CreateBugReport()" should provide you with a full report of what the process is doing. Hope it works for you?
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm

Re: How to obtain a "bug" report outside of an exception?

Postby StephaneGrobety » Fri Nov 30, 2018 5:30 pm

Perfect, thanks.

(Getting real time status of dozens of applications used by dozens of users in near real-time is like magic :D )
StephaneGrobety
 
Posts: 8
Joined: Tue Jul 17, 2018 9:21 am


Return to madExcept

Who is online

Users browsing this forum: No registered users and 4 guests

cron