Search found 21 matches

by MarkElder
Mon Jan 15, 2024 6:48 pm
Forum: madExcept
Topic: Converting TStackItem or TStackTrace to a string
Replies: 2
Views: 35368

Re: Converting TStackItem or TStackTrace to a string

That got me looking in the right direction. I actually wanted the contents so I used this: exceptIntf.BugReportSections[exceptIntf.BugReportSections.Items[0]] There did not seem to be a way to get the "content" by index, but Items[0] gives me the name needed to get the content. Thanks!
by MarkElder
Tue Jan 09, 2024 12:22 am
Forum: madExcept
Topic: Converting TStackItem or TStackTrace to a string
Replies: 2
Views: 35368

Converting TStackItem or TStackTrace to a string

Hello, I am Registering and Except Action Handler that needs to add a few Additional fields to the bug reports. These are pulled out into a custom script that adds the item to our ticketing system. I'd like to add the main thread callstack (or better yet the first X lines of the call stack) to our d...
by MarkElder
Thu Apr 09, 2015 4:40 pm
Forum: madExcept
Topic: XE7 Command Line Build not working even with Patch
Replies: 5
Views: 7909

Re: XE7 Command Line Build not working even with Patch

Yes - everything seems to work for me with the Beta build.

Thanks!
by MarkElder
Thu Mar 19, 2015 12:56 am
Forum: madExcept
Topic: XE7 Command Line Build not working even with Patch
Replies: 5
Views: 7909

Re: XE7 Command Line Build not working even with Patch

Not quite sure how to get you a sample. In my case I build into a folder structure that is side by side like this: project\src project\dcu project\bin I have a msbuild file that runs the build and calls MadExceptPatch. I have MadExceptPatch in a variable because I used to include the full path. We n...
by MarkElder
Thu Jan 08, 2015 7:37 am
Forum: madExcept
Topic: XE7 Command Line Build not working even with Patch
Replies: 5
Views: 7909

XE7 Command Line Build not working even with Patch

Hello, I am moving from XE6 to XE7. Everything is working fine except for command line builds. I'm aware that I need to use MadExceptPatch after building my exes and that I need to generate a detailed map file. No matter what I seem to try I can get MadExcept to work from within the ide, but not fro...
by MarkElder
Thu Aug 21, 2014 3:28 am
Forum: madExcept
Topic: Add data to an exception? (catch, add data, and raise)
Replies: 4
Views: 6560

Add data to an exception? (catch, add data, and raise)

Hello, Is there a way to add state data to an exception as it is being raised? For example I have done something like this before to add a new section to my bug report. except on E: Exception do begin // Show the MadExcept dialog so we can get a complete bug report. BugReport := NewException(etNorma...
by MarkElder
Fri Jan 31, 2014 5:43 pm
Forum: madExcept
Topic: Mantis Integration - where to put end user name
Replies: 0
Views: 57287

Mantis Integration - where to put end user name

Hello, This is not really as madExcept issue, but I'm hoping someone else who is using Mantis/madExcept may have a good idea. I am moving from e-mailing all bug reports to using the Mantis integration. I have everything working great as far as the initial configuration and sending the bug report. Ma...
by MarkElder
Fri Jan 31, 2014 12:59 am
Forum: madExcept
Topic: Mantis integration fails because OS string is too long
Replies: 3
Views: 4887

Re: Mantis integration fails because OS string is too long

In case it is helpful to other here is what I ended up using: procedure AdjustOSBugReportHeaderField(const exceptIntf: IMEException; var handled: boolean); begin exceptIntf.BugReportHeader.Contents['operating system'] := LeftStr(OS.description, 32); exceptIntf.BugReportHeader.Add('os build', UIntToS...
by MarkElder
Mon Jan 27, 2014 9:27 pm
Forum: madExcept
Topic: Mantis integration fails because OS string is too long
Replies: 3
Views: 4887

Re: Mantis integration fails because OS string is too long

Looking into workarounds for this I found that some servers may be OK. MySql has a sql_mode that defines if inserts with data too long should error or automatically truncate the data. If sql_mode contains STRICT_TRANS_TABLE it will error instead of truncate. It looks like this is the default for Win...
by MarkElder
Mon Jan 27, 2014 8:31 pm
Forum: madExcept
Topic: Mantis integration fails because OS string is too long
Replies: 3
Views: 4887

Mantis integration fails because OS string is too long

Hello, I am trying to get the "upload to web server" option working with a Mantis install. I am using using MadExcept version 4.0.7 and Mantis 1.2.15 with Schema version 183. I can connect OK in the madExcept settings dialog but when uploading a report I get an error that simply says "...
by MarkElder
Tue Apr 23, 2013 4:27 pm
Forum: madExcept
Topic: Don't show "Close Application" Button on the first exception
Replies: 2
Views: 4056

Re: Don't show "Close Application" Button on the first excep

Works great.

Also for future readers searching for epQuickFiltering helped me find this post:
conditional buttons and occasional forcibly restart

Basically the same question with a few more details in the answer.
by MarkElder
Thu Apr 18, 2013 5:57 pm
Forum: madExcept
Topic: Don't show "Close Application" Button on the first exception
Replies: 2
Views: 4056

Don't show "Close Application" Button on the first exception

Hello, I would like to change the default buttons to not show the Close Application button on the first error, but show it for the second error on. I'm sure it is possible since the exception number is part of the bug report. I'm having trouble figuring out where to put the code to change the Except...
by MarkElder
Wed Mar 14, 2012 4:56 pm
Forum: madExcept
Topic: Ignoring an Exception on a Shell Thread in an Open Dialog
Replies: 2
Views: 5995

Ignoring an Exception on a Shell Thread in an Open Dialog

Hello, I have a user who is getting an exception thown every time they open up a File Open or Save dialog box. The exception is thrown on a seperate thread that I did not start. I'm guessing it is a shell extension that the system dialog is pulling in. The call stack looks like this: exception class...
by MarkElder
Tue Sep 15, 2009 3:24 pm
Forum: madCollection
Topic: Manually Install into Two IDEs (Delphi 7 and 2007)
Replies: 2
Views: 7521

OK I seem to have it working. I put all the BPLs for each IDE into that IDEs Package output directory. That seems to keep both IDEs happy.

I'm still interested in the correct way to go about this, preferably mirroring what the install actually does. Any advice is appreciated.
by MarkElder
Tue Sep 15, 2009 6:12 am
Forum: madCollection
Topic: Manually Install into Two IDEs (Delphi 7 and 2007)
Replies: 2
Views: 7521

Manually Install into Two IDEs (Delphi 7 and 2007)

The way my machine is setup I run as a normal (non-admin) user. This means I usually need to manually finish installing components. Normally this is not two much of a problem. However, I just needed to add a project in Delphi 7. My primary IDE is Delphi 2007. I'm having trouble getting madExcept to ...