This repository was archived by the owner on Jul 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
FeatureRequest on improving exception creation #366
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change output directory for doxygen: source -> binary
Add documentation section
install tango.h
Change install path: tango/idl -> idl
* adjust pkg-config file; link tango against dl
* add cpack
Revert tests
replace CORBA::string_dup with Tango
replace CORBA::Type with DevType
(Crash when a client receives attribute configuration events with non empty enum labels field)
This reintroduces a small memory leak but will avoid crashes reported in the following tickets: SF814, SF823 and SF827.
(Event relative change filter does nothing) Archive relative change events were affected too. Link to Sourceforge ticket: https://sourceforge.net/p/tango-cs/bugs/825
Add tangodsdir variable to tango.pc. Defaults to CMAKE_INSTALL_FULL_BINDIR. Can be set via TANGO_DEVICE_SERVER_PATH cmake variable
* Fix #314: Check ZmqEventSubscriptionChange command event parameter
Give a bit more details and added a link to a page describing the GitHub workflow with fork/PR in more details.
Add CLion badge
Events received with UNKNOWN data format and without values when subscribing from a Tango 9 client to a Tango 7 server DevShort attribute
… when the device server runs on a host with multiple network interfaces
... to track master branch build status
This bug was generating an exception when a server was trying to set an attribute property (e.g. set_max_value) when a memorized attribute was written during device init phase (write hardware at init feature).
This is the code style which looks the closest from the original Tango C++ kernel code style.
Collaborator
|
Sounds like a good idea. If we do that I would also appreciate overloads accepting std::string. |
Collaborator
|
According to 1 I think using PRETTY_FUNCTION for gcc should be prefered over func as it has the namespace, class and function parameters as well. MSVC seems to not have something as good. Unfortunately we would have to do this with a macro though. |
Member
Author
|
Well, I was thinking about to use this library: https://github.com/boostorg/stacktrace But as we prefer not to depend on 3rd party libraries we will have to fetch the source code and include into our code, or just copy-and-paste the main idea... |
Collaborator
|
@Ingvord Nice library! But a big invasive for my taste. You could make depending on it optional. Just grabbing the source and including it is usally a bad idea. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently developer must provide an origin of the exception in the code manually:
We can automatize this using
__func__,__LINE__and__FILE__. See for instance this post on SO