Comments (8)
I could not find the partial string "does not support conditional breakpoints" in the Visual Studio source code. Which debug engine are you using? The Iris sample only applies to managed (CLR) debugging. Conditional breakpoints work correctly in the sample.
from concordextensibilitysamples.
My apologies, wrote it down wrong, it's "Elements does not support breakpoint conditions." (Elements being my language)
from concordextensibilitysamples.
If you are getting that error, you aren't using Concord as the debug engine. That message comes up when the registration for the debug engine in AD7Metrics does not have a key ConditionalBP with value.
Presumably the debug engine is "Elements" and it doesn't support conditional breakpoints.
from concordextensibilitysamples.
Hrmm that is very interesting. I am using the concord "managed debugger" as specified, and yes I can confirm Iris works too, but my own language doesn't. Registration is as simple as:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config\AD7Metrics\ExpressionEvaluator\{E100B502-A17C-4DBA-A13E-A819F009689B}]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config\AD7Metrics\ExpressionEvaluator\{E100B502-A17C-4DBA-A13E-A819F009689B}\{5133A728-E83E-4C0D-BCB9-AB02B9C172C0}]
"Name"="RemObjects Silver"
"Language"="Elements"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\AD7Metrics\ExpressionEvaluator\{E100B502-A17C-4DBA-A13E-A819F009689B}]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\AD7Metrics\ExpressionEvaluator\{E100B502-A17C-4DBA-A13E-A819F009689B}\{5133A728-E83E-4C0D-BCB9-AB02B9C172C0}]
"Name"="RemObjects Silver"
"Language"="Elements"
for
.language '{E100B502-A17C-4DBA-A13E-A819F009689B}', '{5133A728-E83E-4C0D-BCB9-AB02B9C172C0}', '{5A869D0B-6611-11D3-BD2A-0000F80849BD}'
And I do get the calls in all ExpressionCompiler, Formatter, FrameDecoder (all working fine).
How does that dialog decide if it's concord or not?
from concordextensibilitysamples.
Is there some way I can get the project so I can see what's going on? Alternatively, is it possible to create a minimal project that causes the issue?
from concordextensibilitysamples.
It's a beta of a closed source compiler (RemObjects Elements) http://www.elementscompiler.com/elements/default.aspx
Signed beta installed here
*
File/New/RemObjects Elements/Oxygene/.NET/Console app
set bp/conditional as usual (input doesn't matter, it fails before it ever gets to the other side)
If the setup isn't an option, I can try to extract just the Concord project + deps, but would then prefer to send that privately given they're not obfuscated.
from concordextensibilitysamples.
This is problem is due to missing registration. Turns out that the debugger UI checks all engines mapped to the language to decide if you can set a conditional breakpoint. Iris doesn't run into this problem because the debugger UI assumes the language is "unknown" because it doesn't have a language service
If you add this to your pkgdef file, it will fix the issue:
[$RootKey$\AD7Metrics\ExpressionEvaluator\{3A176F54-4595-432A-93BB-341BFBD6859C}\{5133A728-E83E-4C0D-BCB9-AB02B9C172C0}\Engine]
"0"="{449EC4CC-30D2-4032-9256-EE18EB41B62B}"
"1"="{92EF0900-2251-11D2-B72E-0000F87572EF}"
This maps the "Elements" language to the Managed Only and Mixed Mode engines - you can add more engines if you need to.
I created a pull request to add the corresponding registration to the Iris sample as well: #19
from concordextensibilitysamples.
thank you! that fixed it
from concordextensibilitysamples.
Related Issues (20)
- How to change the value of an argument at a breakpoint?
- Wiki missing info - Obtaining the Concord API headers HOT 10
- vsdconfig.xsd gets added to projects when adding Microsoft.VSSDK.Debugger.VSDConfigTool package HOT 1
- Calling back into the default expression evaluator doesn't work with arrays HOT 1
- Intermediate window and expression compiler HOT 3
- Registering and loading Concord extensions on Linux .NET Core vsdbg HOT 10
- Difficulties changing names on DkmEvaluationResults
- debugging extensions failed. devenv.exe has triggered a breakpoint.(Frame not in moudle) HOT 2
- How to add a custom VisualizerId? HOT 6
- How can I add a new struct and use different Visualizer to show up it and FILETIME? HOT 2
- Difficulties calling function on Complex struct types such as lua_State
- Adding code showing how to add Child items
- This repo is missing important files
- Recent VsDbg versions missing System.Threading.Tasks.dll assembly HOT 4
- Announcement: New releases of C# vsdbg HOT 7
- Unable to load custom VsDbg extensions in linux/WSL using VS 17.7 Preview HOT 6
- Debugger UI integration
- Unable to use IrisExtension following the wiki HOT 3
- $CALLSTACK and $CALLER in Debugger Trace points HOT 4
- Feature request: Allow other .NET languages to participate in Edit and Continue/Hot Reload HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concordextensibilitysamples.