Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Debug.Trace on DockPane #50

Open
pierrenavarra opened this issue Sep 13, 2023 · 12 comments
Open

Can't Debug.Trace on DockPane #50

pierrenavarra opened this issue Sep 13, 2023 · 12 comments

Comments

@pierrenavarra
Copy link

Hi, I'm using a DockPane.
When I use AddInManager to run my new modified dll, Debug.Trace are not visible in your Trace Events window...
Maybe the problem comes from the DockablePaneId with Guid....
Maybe you can reproduce the pb with this exemple :
https://thebuildingcoder.typepad.com/blog/2013/05/a-simpler-dockable-panel-sample.html
Cheers

@chuongmep
Copy link
Owner

Hi @pierrenavarra , I guess you are missing some step to setting before can use it , let read document
https://github.com/chuongmep/RevitAddInManager/wiki/How-To-Use-Debug-Trace-Show-Output

@pierrenavarra
Copy link
Author

pierrenavarra commented Sep 15, 2023

Hi @chuongmep , thx for answering me
All the Debug.Trac works in my project, except for DockablePane
In general, I think there is a problem when Reload a DockablePane via AIM or something escapes me...

@chuongmep
Copy link
Owner

Hi @pierrenavarra , can give me some step to reproduce issue ?

@pierrenavarra
Copy link
Author

Hi,
I made a video for you, hope you'll understand my problem!
https://mega.nz/file/lHEUzAbD#b8s7fi3hTuwSybz9DKZ6s6Bzczxk2eHUT8KKelq29bc
Thx for taking time!

@pierrenavarra
Copy link
Author

Hi @chuongmep
Did you got time to have a look on my video?

@chuongmep
Copy link
Owner

chuongmep commented Sep 27, 2023

Hi @pierrenavarra thank your for your video, I saw your video but still can't create again your issue in my computer, I hope I will have time on the weekend to help you with more detail and reproduce the issue for debug. If you have any more information, please provide more detail.
Regrard !

@pierrenavarra
Copy link
Author

pierrenavarra commented Sep 28, 2023

Hi @chuongmep
Thx !
It's cool! If you want to reproduce the pb, maybe you can test this exemple :
https://twentytwo.space/2023/02/21/dockable-window-revit-add-ins-new-edition/
min.naung made a new version his dockablePane. DockPane is registered in Initialized Event and called in a Document.

@shtirlitsDva
Copy link

I am on 2022 and cannot see any output in the pane when I use Debug.WriteLine :(

@chuongmep
Copy link
Owner

Hi @shtirlitsDva thank you for your report, did you tried with Trace.WriteLine ?

@shtirlitsDva
Copy link

Hi. Same.

@chuongmep
Copy link
Owner

Hi @shtirlitsDva, can show me your configuration, example:
187175343-31bc1f1b-ee01-4d31-9527-80b0c522ed82
This is some step require before you can use it

@shtirlitsDva
Copy link

Hi. I use your release builds, I do not compile myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants