Search found 66 matches
- Wed Nov 22, 2023 10:29 am
- Forum: madExcept
- Topic: Unstable debug in 10.4.2 when madExceptWizard_.bpl is loaded
- Replies: 7
- Views: 59274
Re: Unstable debug in 10.4.2 when madExceptWizard_.bpl is loaded
Ah I found it! And I'm glad to say that madExcept is not the culprit, but sad that I wasted your time. Basically, I'm configuring my debug desktop to show the "Threads" pane by default. And this is actually an issue with Delphi's debugger under Windows 11: https://blogs.embarcadero.com/win...
- Thu Nov 09, 2023 2:12 pm
- Forum: madExcept
- Topic: Unstable debug in 10.4.2 when madExceptWizard_.bpl is loaded
- Replies: 7
- Views: 59274
Unstable debug in 10.4.2 when madExceptWizard_.bpl is loaded
Hello, I have a very strange situation here, happening on only one of the computers I'm using and to none of my colleagues. We are all using Delphi 10.4.2 but in my case, here is what happens: Start Delphi Open a project Run with debugging Hit a breakpoint or stop on an exception IDE freezes for doz...
- Fri Sep 15, 2023 12:55 pm
- Forum: madExcept
- Topic: Email sending method priority
- Replies: 2
- Views: 5350
Re: Email sending method priority
Thanks, but that means hardening and monitoring a web server for this usage. This also means that the support team would have to change its habits which is always a complicated thing.
So I believe that for now I'll turn off the SMTP option
So I believe that for now I'll turn off the SMTP option
- Thu Sep 14, 2023 3:00 pm
- Forum: madExcept
- Topic: Email sending method priority
- Replies: 2
- Views: 5350
Email sending method priority
Hello, We have configured our madExcept settings to show the "Send bug report" button with the following options SMTP server MAPI mailto However, as more and more STMP servers only accept connections with valid credentials, SPF and overly complicated things, we often encounter a situation ...
- Fri Jan 08, 2021 4:56 pm
- Forum: madExcept
- Topic: Locks in an ExceptHandler
- Replies: 2
- Views: 3583
Re: Locks in an ExceptHandler
That's what I thought too, this option is set to False. And because those threads don't process any messages and don't call "PauseMeEventually", they wouldn't be paused anyway. Not entering blindly is something I had not thought of, the TMonitor record does provide a TryEnter method. But i...
- Fri Jan 08, 2021 12:50 pm
- Forum: madExcept
- Topic: Locks in an ExceptHandler
- Replies: 2
- Views: 3583
Locks in an ExceptHandler
In order to have additional information in my service bug reports, I register an exception handler like this: RegisterExceptionHandler(AddDetailsExceptHandler, stDontSync, epCompleteReport); And the AddDetailsExceptHandler simply puts text in a new bug report section like this: exceptIntf.BugReportS...
- Mon Jun 15, 2020 12:23 pm
- Forum: madExcept
- Topic: RestartApplication in Windows service
- Replies: 2
- Views: 5977
Re: RestartApplication in Windows service
This is what I have here: procedure RestartService(const ServiceName: UnicodeString); var FileName: string; Content: TStringList; begin FileName := FileGetTempName('SV'); DeleteFile(FileName); FileName := ChangeFileExt(FileName, '.bat'); Content := TStringList.Create; try Content.Add('@echo off'); C...
- Tue Mar 26, 2019 8:14 am
- Forum: madExcept
- Topic: Sending via Outlook 2016 freezes
- Replies: 3
- Views: 5065
Re: Sending via Outlook 2016 freezes
The bug report not being attached but being in the email body usually means that MAPI didn't work, so madExcept has to use mailto/shellmail instead. Which is an inferior email client API. Thanks, I did not know about the difference between the two, that clears things up. You may have to google for ...
- Mon Mar 25, 2019 4:06 pm
- Forum: madExcept
- Topic: Sending via Outlook 2016 freezes
- Replies: 3
- Views: 5065
Sending via Outlook 2016 freezes
Hello, I have an issue here which is a bit odd and only occurs with recent versions of Office. Here is what happens when a bug report window is shown: The user clicks send The send wizard steps are fulfilled The user clicks "Send now" What we expect, and are seeing with most of our user in...
- Mon Mar 25, 2019 9:01 am
- Forum: madExcept
- Topic: Getting a "frozen" bug report for a secondary exe file
- Replies: 5
- Views: 6537
Re: Getting a "frozen" bug report for a secondary exe file
I was waiting for your validation as this is based on your own code. So here it goes: function GetProcessBugReport(ProcessId: DWORD): string; var SecurityAttributes: TSecurityAttributes; SecurityDescriptor: TSecurityDescriptor; ProcessHandle: THandle; TraceFunction: Pointer; {$ifdef win64} SessionId...
- Fri Mar 22, 2019 8:09 am
- Forum: madExcept
- Topic: Getting a "frozen" bug report for a secondary exe file
- Replies: 5
- Views: 6537
Re: Getting a "frozen" bug report for a secondary exe file
Thanks for the hint, I did not know this existed. I managed to adapt it into a function that gets a Process Id and returns a string, it's all I needed and it works just fine. Do you want me to post it somewhere? With that I can see what the child process is doing, which is looping on Application.Idl...
- Thu Mar 21, 2019 9:38 am
- Forum: madExcept
- Topic: Getting a "frozen" bug report for a secondary exe file
- Replies: 5
- Views: 6537
Getting a "frozen" bug report for a secondary exe file
Hello, I have a main application (Main.exe) that calls CreateProcess to start a secondary process (Child.exe) and waits for it to finish. Both exe files are embedding madExcept. In some rare instances, this deadlocks and I have come up with the following instrumentation method inside Main.exe: Creat...
- Tue Dec 18, 2018 12:08 pm
- Forum: madExcept
- Topic: GetMapFileAddress and overloads
- Replies: 4
- Views: 5666
Re: GetMapFileAddress and overloads
Yes, line number helps.
As to stripping parameters, maybe this could only be done if there are no overloads?
I mean, I don't mind them and this way, inside bug reports I could identify more clearly which one was called.
As to stripping parameters, maybe this could only be done if there are no overloads?
I mean, I don't mind them and this way, inside bug reports I could identify more clearly which one was called.
- Tue Dec 18, 2018 8:45 am
- Forum: madExcept
- Topic: GetMapFileAddress and overloads
- Replies: 4
- Views: 5666
Re: GetMapFileAddress and overloads
Yes, you are right, I could basically copy what FindAddress() is doing. Looking at the content of FPItems, I can see that there are two entries for ScrollIntoView, but I don't see any indications as to what parameters they accept. I was kind of expecting suffixes like $qqrv, $bctr$qqrp and the like,...
- Mon Dec 17, 2018 9:48 am
- Forum: madExcept
- Topic: GetMapFileAddress and overloads
- Replies: 4
- Views: 5666
GetMapFileAddress and overloads
Hello, I'm using the following code to retrieve the address of a procedure: FScrollIntoView := GetMapFileAddress(GetModuleName(0), 'VirtualTrees', 'TBaseVirtualTree.ScrollIntoView'); This works fine for methods that do not have overloads. However, as is the case with the above method, there are tow ...